@visitscotland/component-library 5.76.1 → 5.79.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 (28) hide show
  1. package/CHANGELOG.md +5419 -0
  2. package/dist/components/components/dropdown/Dropdown.vue.d.ts +948 -0
  3. package/dist/components/components/footer/components/FooterCopyright.vue.d.ts +1 -1
  4. package/dist/components/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +1277 -0
  5. package/dist/components/components/google-map/GoogleMap.vue.d.ts +234 -0
  6. package/dist/components/components/google-map/components/GoogleMapMarker.vue.d.ts +73 -0
  7. package/dist/components/components/google-map/composables/AddPolygon.d.ts +2 -0
  8. package/dist/components/components/google-map/composables/AddTooltip.d.ts +30 -0
  9. package/dist/components/components/index.d.ts +2 -0
  10. package/dist/components/components/mega-nav/MegaNav.vue.d.ts +13 -13
  11. package/dist/components/components/navigation-bar/components/NavigationBarMenuDropdown.vue.d.ts +955 -0
  12. package/dist/components/components/social-share/SocialShare.vue.d.ts +1702 -0
  13. package/dist/components/custom-components/maps/MainMap.vue.d.ts +2 -2
  14. package/dist/components/custom-components/maps/components/MapSidebar.vue.d.ts +0 -22
  15. package/dist/components/custom-components/maps/composables/useUpdateSearchParams.d.ts +11 -0
  16. package/dist/components/custom-components/maps/index.d.ts +2 -54
  17. package/dist/components/map-pin-BLjt1O7o.js +4 -0
  18. package/dist/components/map-pin-fZzoZBi5.mjs +7 -0
  19. package/dist/components/stores/googleMap.store.d.ts +26 -0
  20. package/dist/components/stores/mainMap.store.d.ts +7 -1
  21. package/dist/components/stores/map.store.d.ts +1 -1
  22. package/dist/components/stores/mapCategory.store.d.ts +56 -0
  23. package/dist/components/style.css +1 -1
  24. package/dist/components/types/types.d.ts +30 -0
  25. package/dist/components/utils/is-apple-ios.d.ts +5 -0
  26. package/dist/components/vs-component-library.js +19 -11
  27. package/dist/components/vs-component-library.mjs +3349 -2680
  28. package/package.json +192 -192
package/package.json CHANGED
@@ -1,192 +1,192 @@
1
- {
2
- "name": "@visitscotland/component-library",
3
- "version": "5.76.1",
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.umd.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
- "@popperjs/core": "^2.11.8",
71
- "@rollup/plugin-replace": "^6.0.2",
72
- "@semantic-release/exec": "^7.1.0",
73
- "@semantic-release/npm": "^13.1.5",
74
- "@storybook/addon-a11y": "10.5.6",
75
- "@storybook/addon-docs": "10.5.7",
76
- "@storybook/addon-links": "10.5.7",
77
- "@storybook/vue3-vite": "10.5.6",
78
- "@types/google.maps": "^3.64.0",
79
- "@types/node": "^26.0.1",
80
- "@types/react": "^19.2.16",
81
- "@vitejs/plugin-vue": "^6.0.7",
82
- "@vue/compiler-dom": "^3.5.35",
83
- "@vue/eslint-config-typescript": "^14.7.0",
84
- "@vue/test-utils": "^2.3.2",
85
- "@vue/vue3-jest": "^29.2.6",
86
- "babel-jest": "^30.4.1",
87
- "bootstrap": "^5.3.2",
88
- "chromatic": "^18.0.1",
89
- "commitizen": "^4.3.0",
90
- "cz-conventional-changelog": "^3.3.0",
91
- "eslint": "^10.4.0",
92
- "eslint-config-prettier": "^10.1.8",
93
- "eslint-plugin-storybook": "10.5.5",
94
- "eslint-plugin-vue": "^10.9.1",
95
- "globals": "^17.6.0",
96
- "husky": "^9.1.7",
97
- "jest": "^30.4.2",
98
- "jest-axe": "^11.0.0",
99
- "jest-environment-jsdom": "^30.4.1",
100
- "jest-serializer-vue": "^3.1.0",
101
- "jiti": "^2.7.0",
102
- "lint-staged": "^17.0.7",
103
- "moxios": "^0.4.0",
104
- "npm-run-all": "^4.1.5",
105
- "optimist": "^0.6.1",
106
- "prettier": "^3.8.3",
107
- "sass": "^1.62.1",
108
- "semantic-release": "^25.0.3",
109
- "standard-version": "^9.5.0",
110
- "storybook": "^10.5.0",
111
- "storybook-addon-tag-badges": "^3.1.0",
112
- "theo": "^8.1.5",
113
- "ts-jest": "^29.4.11",
114
- "typescript": "5.9.3",
115
- "typescript-eslint": "^8.60.0",
116
- "vite": "7.3.5",
117
- "vite-plugin-dts": "^5.0.2",
118
- "vue-eslint-parser": "^10.4.1",
119
- "vue-tsc": "^3.3.3"
120
- },
121
- "dependencies": {
122
- "@floating-ui/dom": "^1.7.6",
123
- "@googlemaps/js-api-loader": "^2.0.1",
124
- "@mapbox/geojson-extent": "^1.0.1",
125
- "@pinia/testing": "^0.1.3",
126
- "@vuelidate/core": "^2.0.2",
127
- "@vuelidate/validators": "^2.0.2",
128
- "axios": "^1.4.0",
129
- "bootstrap-vue-next": "^0.45.4",
130
- "glob": "^12.0.0",
131
- "lodash": "^4.17.21",
132
- "mapbox-gl": "^1.11.1",
133
- "mitt": "^3.0.0",
134
- "pinia": "^3.0.4",
135
- "swiper": "^14.0.1",
136
- "vue": "^3.5.35",
137
- "vue-combo-blocks": "^2.1.1",
138
- "vue-recaptcha": "^2.0.1",
139
- "vue-youtube-vue-3": "^1.5.0",
140
- "vue3-charts": "^1.1.33",
141
- "vue3-lazy-hydration": "^1.2.1"
142
- },
143
- "peerDependencies": {
144
- "@popperjs/core": "*",
145
- "postcss": "*"
146
- },
147
- "engines": {
148
- "node": ">= 24.15.0",
149
- "npm": ">= 6.14.5",
150
- "yarn": ">= 4.14.1"
151
- },
152
- "dependenciesMeta": {
153
- "husky": {
154
- "built": true
155
- }
156
- },
157
- "browserslist": [
158
- "> 1%",
159
- "last 2 versions",
160
- "not Explorer > 0",
161
- "not ExplorerMobile > 0",
162
- "not BlackBerry > 0",
163
- "not OperaMini all",
164
- "not OperaMobile > 0"
165
- ],
166
- "jest": {
167
- "testPathIgnorePatterns": [
168
- ".test",
169
- "node_modules"
170
- ],
171
- "jest.pathToJest": "node_modules/.bin/jest"
172
- },
173
- "config": {
174
- "commitizen": {
175
- "path": "./node_modules/cz-conventional-changelog"
176
- }
177
- },
178
- "bugs": {
179
- "url": "https://github.com/visitscotland/vs-component-library/issues"
180
- },
181
- "resolutions": {
182
- "minimist": "^0.2.4",
183
- "json5": "^1.0.2",
184
- "word-wrap": "^1.2.4",
185
- "highlight.js": "^10.4.1",
186
- "semver": "^7.5.4",
187
- "get-func-name": "^2.0.1",
188
- "svgo": "3.2.0",
189
- "tar": "^7.5.13"
190
- },
191
- "packageManager": "yarn@4.16.0"
192
- }
1
+ {
2
+ "name": "@visitscotland/component-library",
3
+ "version": "5.79.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.umd.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
+ "@popperjs/core": "^2.11.8",
71
+ "@rollup/plugin-replace": "^6.0.2",
72
+ "@semantic-release/exec": "^7.1.0",
73
+ "@semantic-release/npm": "^13.1.5",
74
+ "@storybook/addon-a11y": "10.5.6",
75
+ "@storybook/addon-docs": "10.5.7",
76
+ "@storybook/addon-links": "10.5.7",
77
+ "@storybook/vue3-vite": "10.5.6",
78
+ "@types/google.maps": "^3.64.0",
79
+ "@types/node": "^26.0.1",
80
+ "@types/react": "^19.2.16",
81
+ "@vitejs/plugin-vue": "^6.0.7",
82
+ "@vue/compiler-dom": "^3.5.35",
83
+ "@vue/eslint-config-typescript": "^14.7.0",
84
+ "@vue/test-utils": "^2.3.2",
85
+ "@vue/vue3-jest": "^29.2.6",
86
+ "babel-jest": "^30.4.1",
87
+ "bootstrap": "^5.3.2",
88
+ "chromatic": "^18.0.1",
89
+ "commitizen": "^4.3.0",
90
+ "cz-conventional-changelog": "^3.3.0",
91
+ "eslint": "^10.4.0",
92
+ "eslint-config-prettier": "^10.1.8",
93
+ "eslint-plugin-storybook": "10.5.5",
94
+ "eslint-plugin-vue": "^10.9.1",
95
+ "globals": "^17.6.0",
96
+ "husky": "^9.1.7",
97
+ "jest": "^30.4.2",
98
+ "jest-axe": "^11.0.0",
99
+ "jest-environment-jsdom": "^30.4.1",
100
+ "jest-serializer-vue": "^3.1.0",
101
+ "jiti": "^2.7.0",
102
+ "lint-staged": "^17.0.7",
103
+ "moxios": "^0.4.0",
104
+ "npm-run-all": "^4.1.5",
105
+ "optimist": "^0.6.1",
106
+ "prettier": "^3.8.3",
107
+ "sass": "^1.62.1",
108
+ "semantic-release": "^25.0.3",
109
+ "standard-version": "^9.5.0",
110
+ "storybook": "^10.5.0",
111
+ "storybook-addon-tag-badges": "^3.1.0",
112
+ "theo": "^8.1.5",
113
+ "ts-jest": "^29.4.11",
114
+ "typescript": "5.9.3",
115
+ "typescript-eslint": "^8.60.0",
116
+ "vite": "7.3.5",
117
+ "vite-plugin-dts": "^5.0.2",
118
+ "vue-eslint-parser": "^10.4.1",
119
+ "vue-tsc": "^3.3.3"
120
+ },
121
+ "dependencies": {
122
+ "@floating-ui/dom": "^1.7.6",
123
+ "@googlemaps/js-api-loader": "^2.0.1",
124
+ "@mapbox/geojson-extent": "^1.0.1",
125
+ "@pinia/testing": "^0.1.3",
126
+ "@vuelidate/core": "^2.0.2",
127
+ "@vuelidate/validators": "^2.0.2",
128
+ "axios": "^1.4.0",
129
+ "bootstrap-vue-next": "^0.45.4",
130
+ "glob": "^12.0.0",
131
+ "lodash": "^4.17.21",
132
+ "mapbox-gl": "^1.11.1",
133
+ "mitt": "^3.0.0",
134
+ "pinia": "^3.0.4",
135
+ "swiper": "^14.0.1",
136
+ "vue": "^3.5.35",
137
+ "vue-combo-blocks": "^2.1.1",
138
+ "vue-recaptcha": "^2.0.1",
139
+ "vue-youtube-vue-3": "^1.5.0",
140
+ "vue3-charts": "^1.1.33",
141
+ "vue3-lazy-hydration": "^1.2.1"
142
+ },
143
+ "peerDependencies": {
144
+ "@popperjs/core": "*",
145
+ "postcss": "*"
146
+ },
147
+ "engines": {
148
+ "node": ">= 24.15.0",
149
+ "npm": ">= 6.14.5",
150
+ "yarn": ">= 4.14.1"
151
+ },
152
+ "dependenciesMeta": {
153
+ "husky": {
154
+ "built": true
155
+ }
156
+ },
157
+ "browserslist": [
158
+ "> 1%",
159
+ "last 2 versions",
160
+ "not Explorer > 0",
161
+ "not ExplorerMobile > 0",
162
+ "not BlackBerry > 0",
163
+ "not OperaMini all",
164
+ "not OperaMobile > 0"
165
+ ],
166
+ "jest": {
167
+ "testPathIgnorePatterns": [
168
+ ".test",
169
+ "node_modules"
170
+ ],
171
+ "jest.pathToJest": "node_modules/.bin/jest"
172
+ },
173
+ "config": {
174
+ "commitizen": {
175
+ "path": "./node_modules/cz-conventional-changelog"
176
+ }
177
+ },
178
+ "bugs": {
179
+ "url": "https://github.com/visitscotland/vs-component-library/issues"
180
+ },
181
+ "resolutions": {
182
+ "minimist": "^0.2.4",
183
+ "json5": "^1.0.2",
184
+ "word-wrap": "^1.2.4",
185
+ "highlight.js": "^10.4.1",
186
+ "semver": "^7.5.4",
187
+ "get-func-name": "^2.0.1",
188
+ "svgo": "3.2.0",
189
+ "tar": "^7.5.13"
190
+ },
191
+ "packageManager": "yarn@4.16.0"
192
+ }