@visitscotland/component-library 4.7.7 → 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.
- package/CHANGELOG.md +2782 -0
- package/dist/client/manifest.json +352 -301
- package/dist/client/scripts/{81fd72d8040ac8baac97.js → 005c44021982625bb7c0.js} +1 -1
- package/dist/client/scripts/{1df52238448347fbc7ff.js → 05484fd4b55edc9f20f1.js} +1 -1
- package/dist/client/scripts/{5fe12b27379292e19661.js → 124d87b30b4163349aaf.js} +1 -1
- package/dist/client/scripts/1879fe770e24e75a90ff.js +1 -0
- package/dist/client/scripts/{14cde2cad7e2e1037fa6.js → 1c793f94b5b5eebb96ae.js} +1 -1
- package/dist/client/scripts/{b0d373ff54879b810b56.js → 1fdc1483cdd2b8d992e2.js} +1 -1
- package/dist/client/scripts/22b75a23f61fad07af64.js +1 -0
- package/dist/client/scripts/{297f534c3b01b924fd5c.js → 2961c6dd5863b2ead56a.js} +1 -1
- package/dist/client/scripts/{c8ce3a05680623b8d334.js → 2f332174174c32ab702d.js} +1 -1
- package/dist/client/scripts/{edc00e7359868e4b7dd3.js → 34179e2ab08fac601704.js} +1 -1
- package/dist/client/scripts/{15c09dca1ff963f19cd4.js → 37421ef20d3c36af6e11.js} +1 -1
- package/dist/client/scripts/{d88e1e53842cc326fc62.js → 37c4a91d58c0f33c627c.js} +1 -1
- package/dist/client/scripts/{72febcec45518d172708.js → 38ce1d0c3513df64f443.js} +1 -1
- package/dist/client/scripts/{aae39bc95d29fcf6f860.js → 39cc995d21686586f6fa.js} +1 -1
- package/dist/client/scripts/{e5565d20467017a2c620.js → 3bd8d4ba3d920bb1433d.js} +1 -1
- package/dist/client/scripts/{8f8ea12bdf5599e542f8.js → 437ff926d713e601fab7.js} +1 -1
- package/dist/client/scripts/{01527cee581757e82bbd.js → 4983897f9fb28ac41410.js} +1 -1
- package/dist/client/scripts/4c84677e2fa89a2f4830.js +1 -0
- package/dist/client/scripts/{b5e7eef853d2b3885063.js → 5dcf971e77fe98f4ff7c.js} +1 -1
- package/dist/client/scripts/7252358fb9222632188a.js +1 -0
- package/dist/client/scripts/{7598be4ae5f3a7c45c3a.js → 84625c1f677d28cc8e8f.js} +1 -1
- package/dist/client/scripts/{3e161476a901afaa0a49.js → 89be3960fe6a420c9c56.js} +1 -1
- package/dist/client/scripts/{f8f62c1a26dc38a2341c.js → 93c7da4477c0235064e1.js} +1 -1
- package/dist/client/scripts/{b0037533f99665d7dc59.js → 9afc1db0ddd0f6a1ed60.js} +1 -1
- package/dist/client/scripts/{51515f8d5a356ce4ca41.js → a5270813af7692184177.js} +1 -1
- package/dist/client/scripts/a711485aacf81264be3e.js +1 -0
- package/dist/client/scripts/{36399268f1c86777b2ce.js → df1c31fbd441961a3f98.js} +1 -1
- package/dist/client/scripts/e0c7a3100e78722074c8.js +1 -0
- package/dist/client/scripts/{5667dfb3c11eb5cc3afa.js → eb8bd7cab79c8b156c1d.js} +1 -1
- package/dist/client/scripts/{3f4adc84d2a1d26f30ca.js → ebae7cda3ef35b5ef619.js} +1 -1
- package/dist/client/scripts/{57a774270d0314146286.js → f3291c43cf0110450425.js} +1 -1
- package/dist/client/scripts/{8e385b0dd7f538a68ee5.js → f9bf53ffdde95c45efb0.js} +1 -1
- package/dist/client/styles/05484fd4b55edc9f20f1.css +1 -0
- package/dist/client/styles/1879fe770e24e75a90ff.css +1 -0
- package/dist/client/styles/22b75a23f61fad07af64.css +1 -0
- package/dist/client/styles/4c84677e2fa89a2f4830.css +1 -0
- package/dist/client/styles/{9a9ca8faa6c5bdff70de.css → 574797bfb7a95a799897.css} +1 -1
- package/dist/client/styles/a5270813af7692184177.css +1 -0
- package/dist/client/styles/a711485aacf81264be3e.css +1 -0
- package/dist/components/components/blog-details/BlogDetails.vue.d.ts +100 -8
- package/dist/components/components/caption/Caption.vue.d.ts +34 -29
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +34 -29
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +34 -29
- package/dist/components/components/hero-section/HeroSection.vue.d.ts +800 -876
- package/dist/components/components/hero-section/components/HeroSectionImage.vue.d.ts +890 -0
- package/dist/components/components/hero-section/index.d.ts +6 -1
- package/dist/components/components/icon/Icon.vue.d.ts +2 -2
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +34 -29
- package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +34 -29
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +117 -117
- package/dist/components/vs-component-library.mjs +8206 -8124
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{b0ecf83d87720cee4db4.css → fb9081f42e653ff0dbe5.css} +7 -6
- package/package.json +231 -231
- package/dist/client/scripts/3fe776ae6a1a4a2de255.js +0 -1
- package/dist/client/scripts/63d29726a2e5382258a4.js +0 -1
- package/dist/client/scripts/90785f08597825e82756.js +0 -1
- package/dist/client/scripts/f7eeed5f7866331afb6b.js +0 -1
- package/dist/client/styles/1df52238448347fbc7ff.css +0 -1
- package/dist/client/styles/3fe776ae6a1a4a2de255.css +0 -1
- package/dist/client/styles/51515f8d5a356ce4ca41.css +0 -1
- package/dist/client/styles/90785f08597825e82756.css +0 -1
- package/dist/client/styles/f7eeed5f7866331afb6b.css +0 -1
- /package/dist/client/scripts/{7a78f9955611cb4b7a4b.js → 56b5442d66b63d14bdb0.js} +0 -0
- /package/dist/client/scripts/{9a9ca8faa6c5bdff70de.js → 574797bfb7a95a799897.js} +0 -0
- /package/dist/client/scripts/{82712cda3bf62ebabf41.js → 5a876b0e082974ef731c.js} +0 -0
- /package/dist/client/styles/{81fd72d8040ac8baac97.css → 005c44021982625bb7c0.css} +0 -0
- /package/dist/client/styles/{5fe12b27379292e19661.css → 124d87b30b4163349aaf.css} +0 -0
- /package/dist/client/styles/{297f534c3b01b924fd5c.css → 2961c6dd5863b2ead56a.css} +0 -0
- /package/dist/client/styles/{c8ce3a05680623b8d334.css → 2f332174174c32ab702d.css} +0 -0
- /package/dist/client/styles/{edc00e7359868e4b7dd3.css → 34179e2ab08fac601704.css} +0 -0
- /package/dist/client/styles/{15c09dca1ff963f19cd4.css → 37421ef20d3c36af6e11.css} +0 -0
- /package/dist/client/styles/{72febcec45518d172708.css → 38ce1d0c3513df64f443.css} +0 -0
- /package/dist/client/styles/{aae39bc95d29fcf6f860.css → 39cc995d21686586f6fa.css} +0 -0
- /package/dist/client/styles/{8f8ea12bdf5599e542f8.css → 437ff926d713e601fab7.css} +0 -0
- /package/dist/client/styles/{01527cee581757e82bbd.css → 4983897f9fb28ac41410.css} +0 -0
- /package/dist/client/styles/{7a78f9955611cb4b7a4b.css → 56b5442d66b63d14bdb0.css} +0 -0
- /package/dist/client/styles/{82712cda3bf62ebabf41.css → 5a876b0e082974ef731c.css} +0 -0
- /package/dist/client/styles/{b5e7eef853d2b3885063.css → 5dcf971e77fe98f4ff7c.css} +0 -0
- /package/dist/client/styles/{7598be4ae5f3a7c45c3a.css → 84625c1f677d28cc8e8f.css} +0 -0
- /package/dist/client/styles/{3e161476a901afaa0a49.css → 89be3960fe6a420c9c56.css} +0 -0
- /package/dist/client/styles/{f8f62c1a26dc38a2341c.css → 93c7da4477c0235064e1.css} +0 -0
- /package/dist/client/styles/{b0037533f99665d7dc59.css → 9afc1db0ddd0f6a1ed60.css} +0 -0
- /package/dist/client/styles/{36399268f1c86777b2ce.css → df1c31fbd441961a3f98.css} +0 -0
- /package/dist/client/styles/{63d29726a2e5382258a4.css → e0c7a3100e78722074c8.css} +0 -0
- /package/dist/client/styles/{5667dfb3c11eb5cc3afa.css → eb8bd7cab79c8b156c1d.css} +0 -0
- /package/dist/client/styles/{3f4adc84d2a1d26f30ca.css → ebae7cda3ef35b5ef619.css} +0 -0
- /package/dist/client/styles/{57a774270d0314146286.css → f3291c43cf0110450425.css} +0 -0
- /package/dist/client/styles/{8e385b0dd7f538a68ee5.css → f9bf53ffdde95c45efb0.css} +0 -0
package/package.json
CHANGED
|
@@ -1,231 +1,231 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@visitscotland/component-library",
|
|
3
|
-
"version": "4.
|
|
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
|
-
"import": "./dist/components/vs-component-library.mjs",
|
|
16
|
-
"require": "./dist/components/vs-component-library.umd.js",
|
|
17
|
-
"types": "./dist/components/component-entry.d.ts"
|
|
18
|
-
},
|
|
19
|
-
"./maps": {
|
|
20
|
-
"import": "./dist/components/maps.mjs"
|
|
21
|
-
},
|
|
22
|
-
"./components/style.css": "./dist/components/vs-component-library.css",
|
|
23
|
-
"./components/fonts.css": "./dist/components/fonts.css",
|
|
24
|
-
"./components/icons.css": "./dist/components/icons.css"
|
|
25
|
-
},
|
|
26
|
-
"license": "MIT",
|
|
27
|
-
"scripts": {
|
|
28
|
-
"storybook": "yarn theo && storybook dev -p 6006",
|
|
29
|
-
"build-storybook": "yarn theo && storybook build",
|
|
30
|
-
"build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite-no-theo",
|
|
31
|
-
"build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
|
|
32
|
-
"build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
|
|
33
|
-
"build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
|
|
34
|
-
"build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
|
|
35
|
-
"build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
|
|
36
|
-
"build:vite": "yarn theo && vite build",
|
|
37
|
-
"build:vite-no-theo": "vite build",
|
|
38
|
-
"test": "yarn theo && jest --config ./test/unit/jest.conf.js",
|
|
39
|
-
"test:no-theo": "jest --config ./test/unit/jest.conf.js",
|
|
40
|
-
"lint": "eslint",
|
|
41
|
-
"lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
|
|
42
|
-
"lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
|
|
43
|
-
"lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
|
|
44
|
-
"lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
|
|
45
|
-
"lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
|
|
46
|
-
"prettier": "prettier . --list-different",
|
|
47
|
-
"theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
|
|
48
|
-
"third-party": "webpack --config ./build/third-party.webpack.conf.js",
|
|
49
|
-
"commit": "cz",
|
|
50
|
-
"prepare": "husky install",
|
|
51
|
-
"prepack": "yarn && yarn build",
|
|
52
|
-
"release:patch": "standard-version --release-as patch",
|
|
53
|
-
"release:minor": "standard-version --release-as minor",
|
|
54
|
-
"release:major": "standard-version --release-as major"
|
|
55
|
-
},
|
|
56
|
-
"lint-staged": {
|
|
57
|
-
"*.{js,vue,ts}": "eslint"
|
|
58
|
-
},
|
|
59
|
-
"repository": {
|
|
60
|
-
"type": "git",
|
|
61
|
-
"url": "https://github.com/visitscotland/vs-component-library.git"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [
|
|
64
|
-
"vue.js",
|
|
65
|
-
"visit scotland",
|
|
66
|
-
"vue",
|
|
67
|
-
"design system",
|
|
68
|
-
"design",
|
|
69
|
-
"system"
|
|
70
|
-
],
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.23.2",
|
|
73
|
-
"@babel/eslint-parser": "^7.21.8",
|
|
74
|
-
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
75
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
76
|
-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
77
|
-
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
78
|
-
"@babel/polyfill": "^7.10.4",
|
|
79
|
-
"@babel/preset-env": "^7.23.2",
|
|
80
|
-
"@babel/preset-react": "7.12.13",
|
|
81
|
-
"@chromatic-com/storybook": "^3.2.2",
|
|
82
|
-
"@originjs/vite-plugin-require-context": "^1.0.9",
|
|
83
|
-
"@rushstack/eslint-patch": "^1.3.0",
|
|
84
|
-
"@semantic-release/npm": "^12.0.1",
|
|
85
|
-
"@storybook/addon-a11y": "^8.4.6",
|
|
86
|
-
"@storybook/addon-essentials": "^8.4.6",
|
|
87
|
-
"@storybook/addon-interactions": "^8.4.6",
|
|
88
|
-
"@storybook/addon-links": "^8.4.6",
|
|
89
|
-
"@storybook/blocks": "^8.4.6",
|
|
90
|
-
"@storybook/vue3": "^8.4.6",
|
|
91
|
-
"@storybook/vue3-vite": "^8.4.6",
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
93
|
-
"@typescript-eslint/parser": "^5.59.8",
|
|
94
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
95
|
-
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
96
|
-
"@vue/test-utils": "^2.3.2",
|
|
97
|
-
"@vue/vue3-jest": "^29.2.4",
|
|
98
|
-
"babel-jest": "^29.5.0",
|
|
99
|
-
"babel-loader": "^9.1.2",
|
|
100
|
-
"babel-plugin-macros": "^2.4.2",
|
|
101
|
-
"bootstrap": "^5.3.2",
|
|
102
|
-
"chromatic": "^6.17.3",
|
|
103
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
104
|
-
"commitizen": "^4.3.0",
|
|
105
|
-
"cross-env": "^7.0.3",
|
|
106
|
-
"css-loader": "^6.7.3",
|
|
107
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
108
|
-
"dotenv-webpack": "^8.0.1",
|
|
109
|
-
"eslint": "^8.2.0",
|
|
110
|
-
"eslint-import-resolver-webpack": "^0.13.2",
|
|
111
|
-
"eslint-plugin-import": "^2.25.2",
|
|
112
|
-
"eslint-plugin-storybook": "^0.11.1",
|
|
113
|
-
"eslint-plugin-vue": "^9.11.1",
|
|
114
|
-
"eslint-webpack-plugin": "^4.0.1",
|
|
115
|
-
"file-loader": "^6.2.0",
|
|
116
|
-
"husky": "^8.0.3",
|
|
117
|
-
"jest": "^29.5.0",
|
|
118
|
-
"jest-axe": "^8.0.0",
|
|
119
|
-
"jest-environment-jsdom": "^29.5.0",
|
|
120
|
-
"jest-serializer-vue": "^3.1.0",
|
|
121
|
-
"lint-staged": "^15.2.2",
|
|
122
|
-
"mini-css-extract-plugin": "^2.7.5",
|
|
123
|
-
"moxios": "^0.4.0",
|
|
124
|
-
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
125
|
-
"npm-run-all": "^4.1.5",
|
|
126
|
-
"optimist": "^0.6.1",
|
|
127
|
-
"path": "^0.12.7",
|
|
128
|
-
"postcss-safe-parser": "^6.0.0",
|
|
129
|
-
"prettier": "^3.2.5",
|
|
130
|
-
"require-context.macro": "^1.2.2",
|
|
131
|
-
"sass": "^1.62.1",
|
|
132
|
-
"sass-loader": "^13.2.2",
|
|
133
|
-
"semantic-release": "^24.2.0",
|
|
134
|
-
"speed-measure-webpack-plugin": "^1.5.0",
|
|
135
|
-
"standard-version": "^9.5.0",
|
|
136
|
-
"storybook": "^8.4.6",
|
|
137
|
-
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
138
|
-
"storybook-addon-mock": "^5.0.0",
|
|
139
|
-
"style-loader": "^3.3.2",
|
|
140
|
-
"svgo-loader": "^4.0.0",
|
|
141
|
-
"theo": "^8.1.5",
|
|
142
|
-
"time-analytics-webpack-plugin": "^0.1.20",
|
|
143
|
-
"ts-jest": "^29.1.0",
|
|
144
|
-
"ts-loader": "^9.4.3",
|
|
145
|
-
"typescript": "^5.0.4",
|
|
146
|
-
"upgrade": "^1.1.0",
|
|
147
|
-
"vite": "^5.2.10",
|
|
148
|
-
"vite-plugin-dts": "^3.7.2",
|
|
149
|
-
"vite-plugin-turbosnap": "^1.0.2",
|
|
150
|
-
"vue": "^3.4.19",
|
|
151
|
-
"vue-loader": "^17.1.0",
|
|
152
|
-
"vue-style-loader": "^4.1.3",
|
|
153
|
-
"webpack": "^5.81.0",
|
|
154
|
-
"webpack-cli": "^5.0.2",
|
|
155
|
-
"webpack-manifest-plugin": "^5.0.0",
|
|
156
|
-
"webpack-merge": "^5.1.4",
|
|
157
|
-
"webpack-node-externals": "^3.0.0"
|
|
158
|
-
},
|
|
159
|
-
"dependencies": {
|
|
160
|
-
"@mapbox/geojson-extent": "^1.0.1",
|
|
161
|
-
"@pinia/testing": "^0.1.3",
|
|
162
|
-
"@semantic-release/exec": "^6.0.3",
|
|
163
|
-
"@storybook/addon-a11y": "^8.4.6",
|
|
164
|
-
"@storybook/test": "^8.4.6",
|
|
165
|
-
"@vuelidate/core": "^2.0.2",
|
|
166
|
-
"@vuelidate/validators": "^2.0.2",
|
|
167
|
-
"axios": "^1.4.0",
|
|
168
|
-
"bootstrap-vue-next": "^0.17.0",
|
|
169
|
-
"glob": "^8.1.0",
|
|
170
|
-
"lodash": "^4.17.21",
|
|
171
|
-
"mapbox-gl": "^1.11.1",
|
|
172
|
-
"mitt": "^3.0.0",
|
|
173
|
-
"pinia": "^2.1.3",
|
|
174
|
-
"vite": "^5.1.3",
|
|
175
|
-
"vue": "^3.3.4",
|
|
176
|
-
"vue-combo-blocks": "^2.1.1",
|
|
177
|
-
"vue-recaptcha": "^2.0.1",
|
|
178
|
-
"vue-youtube-vue-3": "^1.5.0",
|
|
179
|
-
"vue3-charts": "^1.1.33",
|
|
180
|
-
"vue3-lazy-hydration": "^1.2.1",
|
|
181
|
-
"vue3-simple-typeahead": "^1.0.11",
|
|
182
|
-
"vuelidate": "^0.7.7",
|
|
183
|
-
"vuex": "^4.1.0",
|
|
184
|
-
"webpack-merge": "^5.1.4",
|
|
185
|
-
"webpack-node-externals": "^3.0.0"
|
|
186
|
-
},
|
|
187
|
-
"peerDependencies": {
|
|
188
|
-
"@popperjs/core": "*",
|
|
189
|
-
"postcss": "*"
|
|
190
|
-
},
|
|
191
|
-
"engines": {
|
|
192
|
-
"node": ">= 16.20.0",
|
|
193
|
-
"npm": ">= 6.14.5",
|
|
194
|
-
"yarn": ">= 1.22.4"
|
|
195
|
-
},
|
|
196
|
-
"browserslist": [
|
|
197
|
-
"> 1%",
|
|
198
|
-
"last 2 versions",
|
|
199
|
-
"not Explorer > 0",
|
|
200
|
-
"IE 11",
|
|
201
|
-
"not ExplorerMobile > 0",
|
|
202
|
-
"not BlackBerry > 0",
|
|
203
|
-
"not OperaMini all",
|
|
204
|
-
"not OperaMobile > 0"
|
|
205
|
-
],
|
|
206
|
-
"jest": {
|
|
207
|
-
"testPathIgnorePatterns": [
|
|
208
|
-
".test",
|
|
209
|
-
"node_modules"
|
|
210
|
-
],
|
|
211
|
-
"jest.pathToJest": "node_modules/.bin/jest"
|
|
212
|
-
},
|
|
213
|
-
"config": {
|
|
214
|
-
"commitizen": {
|
|
215
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"bugs": {
|
|
219
|
-
"url": "https://github.com/visitscotland/vs-component-library/issues"
|
|
220
|
-
},
|
|
221
|
-
"resolutions": {
|
|
222
|
-
"minimist": "^0.2.4",
|
|
223
|
-
"json5": "^1.0.2",
|
|
224
|
-
"word-wrap": "^1.2.4",
|
|
225
|
-
"highlight.js": "^10.4.1",
|
|
226
|
-
"semver": "^7.5.4",
|
|
227
|
-
"get-func-name": "^2.0.1",
|
|
228
|
-
"svgo": "3.2.0"
|
|
229
|
-
},
|
|
230
|
-
"packageManager": "yarn@4.
|
|
231
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@visitscotland/component-library",
|
|
3
|
+
"version": "4.8.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
|
+
"import": "./dist/components/vs-component-library.mjs",
|
|
16
|
+
"require": "./dist/components/vs-component-library.umd.js",
|
|
17
|
+
"types": "./dist/components/component-entry.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./maps": {
|
|
20
|
+
"import": "./dist/components/maps.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./components/style.css": "./dist/components/vs-component-library.css",
|
|
23
|
+
"./components/fonts.css": "./dist/components/fonts.css",
|
|
24
|
+
"./components/icons.css": "./dist/components/icons.css"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"storybook": "yarn theo && storybook dev -p 6006",
|
|
29
|
+
"build-storybook": "yarn theo && storybook build",
|
|
30
|
+
"build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite-no-theo",
|
|
31
|
+
"build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
|
|
32
|
+
"build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
|
|
33
|
+
"build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
|
|
34
|
+
"build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
|
|
35
|
+
"build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
|
|
36
|
+
"build:vite": "yarn theo && vite build",
|
|
37
|
+
"build:vite-no-theo": "vite build",
|
|
38
|
+
"test": "yarn theo && jest --config ./test/unit/jest.conf.js",
|
|
39
|
+
"test:no-theo": "jest --config ./test/unit/jest.conf.js",
|
|
40
|
+
"lint": "eslint",
|
|
41
|
+
"lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
|
|
42
|
+
"lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
|
|
43
|
+
"lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
|
|
44
|
+
"lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
|
|
45
|
+
"lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
|
|
46
|
+
"prettier": "prettier . --list-different",
|
|
47
|
+
"theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
|
|
48
|
+
"third-party": "webpack --config ./build/third-party.webpack.conf.js",
|
|
49
|
+
"commit": "cz",
|
|
50
|
+
"prepare": "husky install",
|
|
51
|
+
"prepack": "yarn && yarn build",
|
|
52
|
+
"release:patch": "standard-version --release-as patch",
|
|
53
|
+
"release:minor": "standard-version --release-as minor",
|
|
54
|
+
"release:major": "standard-version --release-as major"
|
|
55
|
+
},
|
|
56
|
+
"lint-staged": {
|
|
57
|
+
"*.{js,vue,ts}": "eslint"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "https://github.com/visitscotland/vs-component-library.git"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"vue.js",
|
|
65
|
+
"visit scotland",
|
|
66
|
+
"vue",
|
|
67
|
+
"design system",
|
|
68
|
+
"design",
|
|
69
|
+
"system"
|
|
70
|
+
],
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@babel/core": "^7.23.2",
|
|
73
|
+
"@babel/eslint-parser": "^7.21.8",
|
|
74
|
+
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
75
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
76
|
+
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
77
|
+
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
78
|
+
"@babel/polyfill": "^7.10.4",
|
|
79
|
+
"@babel/preset-env": "^7.23.2",
|
|
80
|
+
"@babel/preset-react": "7.12.13",
|
|
81
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
82
|
+
"@originjs/vite-plugin-require-context": "^1.0.9",
|
|
83
|
+
"@rushstack/eslint-patch": "^1.3.0",
|
|
84
|
+
"@semantic-release/npm": "^12.0.1",
|
|
85
|
+
"@storybook/addon-a11y": "^8.4.6",
|
|
86
|
+
"@storybook/addon-essentials": "^8.4.6",
|
|
87
|
+
"@storybook/addon-interactions": "^8.4.6",
|
|
88
|
+
"@storybook/addon-links": "^8.4.6",
|
|
89
|
+
"@storybook/blocks": "^8.4.6",
|
|
90
|
+
"@storybook/vue3": "^8.4.6",
|
|
91
|
+
"@storybook/vue3-vite": "^8.4.6",
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
93
|
+
"@typescript-eslint/parser": "^5.59.8",
|
|
94
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
95
|
+
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
96
|
+
"@vue/test-utils": "^2.3.2",
|
|
97
|
+
"@vue/vue3-jest": "^29.2.4",
|
|
98
|
+
"babel-jest": "^29.5.0",
|
|
99
|
+
"babel-loader": "^9.1.2",
|
|
100
|
+
"babel-plugin-macros": "^2.4.2",
|
|
101
|
+
"bootstrap": "^5.3.2",
|
|
102
|
+
"chromatic": "^6.17.3",
|
|
103
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
104
|
+
"commitizen": "^4.3.0",
|
|
105
|
+
"cross-env": "^7.0.3",
|
|
106
|
+
"css-loader": "^6.7.3",
|
|
107
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
108
|
+
"dotenv-webpack": "^8.0.1",
|
|
109
|
+
"eslint": "^8.2.0",
|
|
110
|
+
"eslint-import-resolver-webpack": "^0.13.2",
|
|
111
|
+
"eslint-plugin-import": "^2.25.2",
|
|
112
|
+
"eslint-plugin-storybook": "^0.11.1",
|
|
113
|
+
"eslint-plugin-vue": "^9.11.1",
|
|
114
|
+
"eslint-webpack-plugin": "^4.0.1",
|
|
115
|
+
"file-loader": "^6.2.0",
|
|
116
|
+
"husky": "^8.0.3",
|
|
117
|
+
"jest": "^29.5.0",
|
|
118
|
+
"jest-axe": "^8.0.0",
|
|
119
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
120
|
+
"jest-serializer-vue": "^3.1.0",
|
|
121
|
+
"lint-staged": "^15.2.2",
|
|
122
|
+
"mini-css-extract-plugin": "^2.7.5",
|
|
123
|
+
"moxios": "^0.4.0",
|
|
124
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
125
|
+
"npm-run-all": "^4.1.5",
|
|
126
|
+
"optimist": "^0.6.1",
|
|
127
|
+
"path": "^0.12.7",
|
|
128
|
+
"postcss-safe-parser": "^6.0.0",
|
|
129
|
+
"prettier": "^3.2.5",
|
|
130
|
+
"require-context.macro": "^1.2.2",
|
|
131
|
+
"sass": "^1.62.1",
|
|
132
|
+
"sass-loader": "^13.2.2",
|
|
133
|
+
"semantic-release": "^24.2.0",
|
|
134
|
+
"speed-measure-webpack-plugin": "^1.5.0",
|
|
135
|
+
"standard-version": "^9.5.0",
|
|
136
|
+
"storybook": "^8.4.6",
|
|
137
|
+
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
138
|
+
"storybook-addon-mock": "^5.0.0",
|
|
139
|
+
"style-loader": "^3.3.2",
|
|
140
|
+
"svgo-loader": "^4.0.0",
|
|
141
|
+
"theo": "^8.1.5",
|
|
142
|
+
"time-analytics-webpack-plugin": "^0.1.20",
|
|
143
|
+
"ts-jest": "^29.1.0",
|
|
144
|
+
"ts-loader": "^9.4.3",
|
|
145
|
+
"typescript": "^5.0.4",
|
|
146
|
+
"upgrade": "^1.1.0",
|
|
147
|
+
"vite": "^5.2.10",
|
|
148
|
+
"vite-plugin-dts": "^3.7.2",
|
|
149
|
+
"vite-plugin-turbosnap": "^1.0.2",
|
|
150
|
+
"vue": "^3.4.19",
|
|
151
|
+
"vue-loader": "^17.1.0",
|
|
152
|
+
"vue-style-loader": "^4.1.3",
|
|
153
|
+
"webpack": "^5.81.0",
|
|
154
|
+
"webpack-cli": "^5.0.2",
|
|
155
|
+
"webpack-manifest-plugin": "^5.0.0",
|
|
156
|
+
"webpack-merge": "^5.1.4",
|
|
157
|
+
"webpack-node-externals": "^3.0.0"
|
|
158
|
+
},
|
|
159
|
+
"dependencies": {
|
|
160
|
+
"@mapbox/geojson-extent": "^1.0.1",
|
|
161
|
+
"@pinia/testing": "^0.1.3",
|
|
162
|
+
"@semantic-release/exec": "^6.0.3",
|
|
163
|
+
"@storybook/addon-a11y": "^8.4.6",
|
|
164
|
+
"@storybook/test": "^8.4.6",
|
|
165
|
+
"@vuelidate/core": "^2.0.2",
|
|
166
|
+
"@vuelidate/validators": "^2.0.2",
|
|
167
|
+
"axios": "^1.4.0",
|
|
168
|
+
"bootstrap-vue-next": "^0.17.0",
|
|
169
|
+
"glob": "^8.1.0",
|
|
170
|
+
"lodash": "^4.17.21",
|
|
171
|
+
"mapbox-gl": "^1.11.1",
|
|
172
|
+
"mitt": "^3.0.0",
|
|
173
|
+
"pinia": "^2.1.3",
|
|
174
|
+
"vite": "^5.1.3",
|
|
175
|
+
"vue": "^3.3.4",
|
|
176
|
+
"vue-combo-blocks": "^2.1.1",
|
|
177
|
+
"vue-recaptcha": "^2.0.1",
|
|
178
|
+
"vue-youtube-vue-3": "^1.5.0",
|
|
179
|
+
"vue3-charts": "^1.1.33",
|
|
180
|
+
"vue3-lazy-hydration": "^1.2.1",
|
|
181
|
+
"vue3-simple-typeahead": "^1.0.11",
|
|
182
|
+
"vuelidate": "^0.7.7",
|
|
183
|
+
"vuex": "^4.1.0",
|
|
184
|
+
"webpack-merge": "^5.1.4",
|
|
185
|
+
"webpack-node-externals": "^3.0.0"
|
|
186
|
+
},
|
|
187
|
+
"peerDependencies": {
|
|
188
|
+
"@popperjs/core": "*",
|
|
189
|
+
"postcss": "*"
|
|
190
|
+
},
|
|
191
|
+
"engines": {
|
|
192
|
+
"node": ">= 16.20.0",
|
|
193
|
+
"npm": ">= 6.14.5",
|
|
194
|
+
"yarn": ">= 1.22.4"
|
|
195
|
+
},
|
|
196
|
+
"browserslist": [
|
|
197
|
+
"> 1%",
|
|
198
|
+
"last 2 versions",
|
|
199
|
+
"not Explorer > 0",
|
|
200
|
+
"IE 11",
|
|
201
|
+
"not ExplorerMobile > 0",
|
|
202
|
+
"not BlackBerry > 0",
|
|
203
|
+
"not OperaMini all",
|
|
204
|
+
"not OperaMobile > 0"
|
|
205
|
+
],
|
|
206
|
+
"jest": {
|
|
207
|
+
"testPathIgnorePatterns": [
|
|
208
|
+
".test",
|
|
209
|
+
"node_modules"
|
|
210
|
+
],
|
|
211
|
+
"jest.pathToJest": "node_modules/.bin/jest"
|
|
212
|
+
},
|
|
213
|
+
"config": {
|
|
214
|
+
"commitizen": {
|
|
215
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"bugs": {
|
|
219
|
+
"url": "https://github.com/visitscotland/vs-component-library/issues"
|
|
220
|
+
},
|
|
221
|
+
"resolutions": {
|
|
222
|
+
"minimist": "^0.2.4",
|
|
223
|
+
"json5": "^1.0.2",
|
|
224
|
+
"word-wrap": "^1.2.4",
|
|
225
|
+
"highlight.js": "^10.4.1",
|
|
226
|
+
"semver": "^7.5.4",
|
|
227
|
+
"get-func-name": "^2.0.1",
|
|
228
|
+
"svgo": "3.2.0"
|
|
229
|
+
},
|
|
230
|
+
"packageManager": "yarn@4.6.0"
|
|
231
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsHeroSection=e():t.VsHeroSection=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1763],{86585:function(){},86833:function(t,e,n){"use strict";var s=n(13838),i=n(72958),r=n(11438),o=n(90630),a=n(31574);e.A={name:"VsHeroSection",status:"prototype",release:"0.0.1",components:{VsHeading:s.default,VsContainer:r.T$,VsCol:r.Il,VsRow:r.AQ,VsCaption:o.default,VsRichTextWrapper:i.default,VsImg:a.default},props:{inset:{type:Boolean,default:!1},heading:{type:String,default:"",required:!0},lede:{type:String,default:"",required:!0},src:{type:String,default:""},imgAlt:{type:String,default:""},imgCaption:{type:String,default:""},imgCredit:{type:String,default:""}},computed:{setInset:function(){return this.inset||!this.src?"container":""}}}},73801:function(t,e,n){"use strict";n.d(e,{X:function(){return l}});var s=n(20641),i=n(90033),r={class:"vs-hero-section","data-test":"vs-hero-section"},o={class:"vs-hero-section__text-wrapper"},a={class:"mb-0"},u={key:0},c={key:1,class:"vs-hero-section__divider"};function l(t,e,n,l,d,f){var p=(0,s.g2)("VsHeading"),g=(0,s.g2)("VsCol"),m=(0,s.g2)("VsRichTextWrapper"),_=(0,s.g2)("VsRow"),v=(0,s.g2)("VsContainer"),y=(0,s.g2)("VsImg"),h=(0,s.g2)("VsCaption");return(0,s.uX)(),(0,s.CE)("div",r,[(0,s.Lk)("div",o,[(0,s.bF)(v,null,{default:(0,s.k6)((function(){return[(0,s.bF)(_,null,{default:(0,s.k6)((function(){return[(0,s.bF)(g,{cols:"12",sm:"10",md:"9",lg:"7"},{default:(0,s.k6)((function(){return[(0,s.bF)(p,{class:"vs-hero-section__heading m-lg-0","data-test":"vs-hero-section__heading",level:"1","heading-style":"display-xs"},{default:(0,s.k6)((function(){return[(0,s.eW)((0,i.toDisplayString)(n.heading),1)]})),_:1})]})),_:1}),(0,s.bF)(g,{cols:"12",sm:"8","offset-lg":"1",lg:"4"},{default:(0,s.k6)((function(){return[n.lede?((0,s.uX)(),(0,s.Wv)(m,{key:0,"data-test":"vs-hero-section__lede",variant:"lead"},{default:(0,s.k6)((function(){return[(0,s.Lk)("p",a,(0,i.toDisplayString)(n.lede),1)]})),_:1})):(0,s.Q3)("",!0)]})),_:1})]})),_:1})]})),_:1})]),(0,s.Lk)("div",{class:(0,i.normalizeClass)(f.setInset),"data-test":"vs-hero-section__image-wrapper"},[n.src?((0,s.uX)(),(0,s.CE)("span",u,[(0,s.bF)(y,{class:"vs-hero-section__img",src:n.src,alt:n.imgAlt},null,8,["src","alt"]),n.imgCaption||n.imgCredit?((0,s.uX)(),(0,s.Wv)(h,{key:0,class:"p-0",theme:"subtle","data-test":"vs-hero-section__caption"},{caption:(0,s.k6)((function(){return[(0,s.eW)((0,i.toDisplayString)(n.imgCaption),1)]})),credit:(0,s.k6)((function(){return[(0,s.eW)((0,i.toDisplayString)(n.imgCredit),1)]})),_:1})):(0,s.Q3)("",!0)])):((0,s.uX)(),(0,s.CE)("hr",c))],2)])}},75875:function(t,e,n){"use strict";var s=n(85072),i=n.n(s),r=n(97825),o=n.n(r),a=n(77659),u=n.n(a),c=n(55056),l=n.n(c),d=n(10540),f=n.n(d),p=n(41113),g=n.n(p),m=n(86585),_=n.n(m),v={};v.styleTagTransform=g(),v.setAttributes=l(),v.insert=u().bind(null,"head"),v.domAPI=o(),v.insertStyleElement=f(),i()(_(),v),_()&&_().locals&&_().locals},38399:function(t,e,n){"use strict";n.r(e);var s=n(29817),i=n(66565);n(65767);const r=(0,n(66262).A)(i.A,[["render",s.X]]);e.default=r},66565:function(t,e,n){"use strict";n.d(e,{A:function(){return s.A}});var s=n(86833)},29817:function(t,e,n){"use strict";n.d(e,{X:function(){return s.X}});var s=n(73801)},65767:function(t,e,n){"use strict";n(75875)}},function(t){return t.O(0,[641,6262,7510,3751,4352,4467,2543,6422,8638,3838,2368,7521,1438,1574,2958,4982,1244,630],(function(){return t(t.s=38399)})),t.O()}])}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6422],{77e3:function(){},92518:function(e,t){"use strict";t.A={name:"VsIcon",status:"prototype",release:"0.1.0",props:{name:{type:String,required:!0,default:"search"},variant:{type:String,default:"default",validator:function(e){return e.match(/(default|primary|inverse|disabled|tertiary|danger|warning)/)}},customColour:{type:String,default:null},orientation:{type:String,default:null,validator:function(e){return e.match(/(up|down|left|right)/)}},size:{type:String,default:"md",validator:function(e){return e.match(/(xxs|xs|sm|md|lg|xl)/)}},smallSize:{type:String,default:null,validator:function(e){return e.match(/(xxs|xs|sm|md|lg|xl)/)}},duotone:{type:Boolean,default:!1}},data:function(){return{iconLookup:[{key:"accesstoliet",value:"accessible-toilet"},{key:"accessparkdrop",value:"facility-accessparkdrop"},{key:"acco",value:"product-accommodation"},{key:"acti",value:"product-activities"},{key:"attr",value:"product-attractions"},{key:"audioloop",value:"facility-audioloop"},{key:"cafereston",value:"cafe"},{key:"cate",value:"product-food-and-drink"},{key:"cities",value:"city"},{key:"cycling",value:"cycle"},{key:"dsblaccess",value:"facility-dsblaccess"},{key:"wheelchairaccess",value:"facility-dsblaccess"},{key:"even",value:"product-events"},{key:"familyev",value:"family"},{key:"filmev",value:"film-tv"},{key:"hottub",value:"hot-tub"},{key:"parking",value:"facility-parking"},{key:"petswelcom",value:"facility-petswelcom"},{key:"wifi",value:"facility-wifi"},{key:"public",value:"public-transport"},{key:"pubtranrte",value:"public-transport"},{key:"reta",value:"product-shopping"},{key:"spahealth",value:"wellness"},{key:"vege",value:"vegan-vegetarian"},{key:"walking",value:"walk"},{key:"boat",value:"boat"},{key:"transport",value:"transport"},{key:"brekavail",value:"breakfast-available"},{key:"wetroom",value:"level-entry-shower"},{key:"linkedin",value:"linkedin-in fa-brands"}]}},computed:{icon:function(){return this.formattedName},formattedName:function(){var e=this,t=this.iconLookup.find((function(t){return t.key===e.name}));return void 0!==t?t.value:this.name}}}},8200:function(e,t,a){"use strict";a.d(t,{X:function(){return l}});var n=a(64467),i=a(20641);function l(e,t,a,l,o,r){return(0,i.uX)(),(0,i.CE)("i",(0,i.v6)({class:(0,n.A)((0,n.A)((0,n.A)((0,n.A)((0,n.A)((0,n.A)((0,n.A)((0,n.A)({fak:!0},"fa-".concat(r.icon),!0),"vs-icon",!0),"vs-icon--size-".concat(a.size),!0),"vs-icon--sm-size-".concat(a.smallSize),a.smallSize),"vs-icon--".concat(r.formattedName),!0),"icon--"+a.orientation,a.orientation),"vs-icon--variant-".concat(a.variant),a.variant),"fa-duotone",a.duotone),style:[a.customColour?{color:a.customColour}:{}]},e.$attrs,{"data-test":"vs-icon"}),null,16)}},19862:function(e,t,a){"use strict";var n=a(85072),i=a.n(n),l=a(97825),o=a.n(l),r=a(77659),c=a.n(r),u=a(55056),s=a.n(u),v=a(10540),d=a.n(v),y=a(41113),f=a.n(y),k=a(77e3),p=a.n(k),m={};m.styleTagTransform=f(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=d(),i()(p(),m),p()&&p().locals&&p().locals},46422:function(e,t,a){"use strict";a.r(t);var n=a(8200),i=a(21978);a(47018);const l=(0,a(66262).A)(i.A,[["render",n.X]]);t.default=l},21978:function(e,t,a){"use strict";a.d(t,{A:function(){return n.A}});var n=a(92518)},47018:function(e,t,a){"use strict";a(19862)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1161],{26953:function(){},20731:function(t,n,s){"use strict";var e=s(13838);n.A={name:"VsLinkList",status:"prototype",release:"0.0.1",components:{VsHeading:e.default},props:{toc:{type:Boolean,default:!1}},computed:{classes:function(){return{"link-list":!0,"link-list--toc":this.toc}},dataTest:function(){return this.toc?"link-list--toc":"link-list"},hasHeadingSlot:function(){return!!this.$slots.heading}}}},33505:function(t,n,s){"use strict";s.d(n,{X:function(){return u}});var e=s(20641),i=s(90033),a=["data-test"],l={class:"link-list__list"};function u(t,n,s,u,o,r){var c=(0,e.g2)("VsHeading");return(0,e.uX)(),(0,e.CE)("div",{class:(0,i.normalizeClass)(r.classes),"data-test":r.dataTest},[(0,e.Lk)("nav",null,[r.hasHeadingSlot?((0,e.uX)(),(0,e.Wv)(c,{key:0,level:"2","heading-style":"heading-l"},{default:(0,e.k6)((function(){return[(0,e.RG)(t.$slots,"heading")]})),_:3})):(0,e.Q3)("",!0),(0,e.Lk)("ul",l,[(0,e.RG)(t.$slots,"default")])])],10,a)}},3115:function(t,n,s){"use strict";var e=s(85072),i=s.n(e),a=s(97825),l=s.n(a),u=s(77659),o=s.n(u),r=s(55056),c=s.n(r),d=s(10540),f=s.n(d),k=s(41113),h=s.n(k),v=s(26953),p=s.n(v),g={};g.styleTagTransform=h(),g.setAttributes=c(),g.insert=o().bind(null,"head"),g.domAPI=l(),g.insertStyleElement=f(),i()(p(),g),p()&&p().locals&&p().locals},81161:function(t,n,s){"use strict";s.r(n);var e=s(95729),i=s(80495);s(99887);const a=(0,s(66262).A)(i.A,[["render",e.X]]);n.default=a},80495:function(t,n,s){"use strict";s.d(n,{A:function(){return e.A}});var e=s(20731)},95729:function(t,n,s){"use strict";s.d(n,{X:function(){return e.X}});var e=s(33505)},99887:function(t,n,s){"use strict";s(3115)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsBlogDetails=e():t.VsBlogDetails=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2036],{89893:function(){},86473:function(t,e){"use strict";e.A={name:"VsBlogDetails",status:"prototype",release:"0.0.1",props:{blogAuthor:{type:String,required:!0},blogPublishDate:{type:String,required:!0},blogReadTime:{type:String,required:!0}}}},81629:function(t,e,n){"use strict";n.d(e,{X:function(){return u}});var s=n(20641),i=n(90033),o={class:"vs-blog-details","data-test":"vs-blog-details"},r={class:"vs-blog-details__author"},l={class:"vs-blog-details__date"},a={class:"vs-blog-details__read-time"};function u(t,e,n,u,c,d){return(0,s.uX)(),(0,s.CE)("div",o,[(0,s.Lk)("span",r,[(0,s.eW)((0,i.toDisplayString)(n.blogAuthor)+" ",1),e[0]||(e[0]=(0,s.Lk)("span",{class:"vs-blog-details__divider"},"·",-1)),(0,s.Lk)("span",l,(0,i.toDisplayString)(n.blogPublishDate),1)]),(0,s.Lk)("span",a,(0,i.toDisplayString)(n.blogReadTime),1)])}},21523:function(t,e,n){"use strict";var s=n(85072),i=n.n(s),o=n(97825),r=n.n(o),l=n(77659),a=n.n(l),u=n(55056),c=n.n(u),d=n(10540),f=n.n(d),p=n(41113),b=n.n(p),g=n(89893),v=n.n(g),y={};y.styleTagTransform=b(),y.setAttributes=c(),y.insert=a().bind(null,"head"),y.domAPI=r(),y.insertStyleElement=f(),i()(v(),y),v()&&v().locals&&v().locals},56611:function(t,e,n){"use strict";n.r(e);var s=n(20301),i=n(91437);n(36719);const o=(0,n(66262).A)(i.A,[["render",s.X]]);e.default=o},91437:function(t,e,n){"use strict";n.d(e,{A:function(){return s.A}});var s=n(86473)},20301:function(t,e,n){"use strict";n.d(e,{X:function(){return s.X}});var s=n(81629)},36719:function(t,e,n){"use strict";n(21523)}},function(t){return t.O(0,[641,6262,7510],(function(){return t(t.s=56611)})),t.O()}])}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vs-mega-nav{position:relative;display:flex;align-items:center;height:45px;box-shadow:0 2px 6px 0px rgba(0,0,0,.15)}@media(min-width: 992px){.vs-mega-nav{height:48px}}.vs-mega-nav__main-row{flex-wrap:nowrap}.vs-mega-nav__logo{display:inline-block;height:calc(2rem + 0.25rem)}@media(min-width: 992px){.vs-mega-nav__logo{height:calc(2rem + 0.5rem)}}.vs-mega-nav__logo svg{width:184px;vertical-align:top;margin-top:.25rem}.vs-mega-nav .vs-mega-nav__menu{position:static}.vs-mega-nav .vs-mega-nav__menu-mobile{margin-left:.5rem}.vs-mega-nav__mobile-menu-toggle{position:relative}.vs-mega-nav__mobile-menu{display:none}.no-js .vs-mega-nav{box-shadow:none;height:auto}.no-js .vs-mega-nav__menu-mobile{display:none !important}.no-js .vs-mega-nav__menu{display:block !important;width:100%;max-width:100%;flex:0 0 100%;position:relative}.no-js .vs-mega-nav__main-row{flex-wrap:wrap}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vs-hero-section{padding-bottom:3rem}.vs-hero-section__text-wrapper{background-color:#fff;padding:4rem 0 3rem 0}@media(min-width: 576px){.vs-hero-section__text-wrapper{padding:5rem 0 3rem 0}}.vs-hero-section__heading{color:#5b2487}@media(min-width: 992px){.vs-hero-section__heading{font-size:2rem;margin:1rem 0 .75rem}}@media(min-width: 1200px){.vs-hero-section__heading{font-size:2.5625rem;margin:1rem 0 .75rem}}.vs-hero-section__img{width:100%;height:386px;object-fit:cover}@media(min-width: 576px){.vs-hero-section__img{height:514px}}@media(min-width: 992px){.vs-hero-section__img{height:648px}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vs-site-search-form .vs-input--site-search.form-control::-ms-clear{display:none;width:0;height:0}.vs-site-search-form .vs-input--site-search.form-control::-ms-reveal{display:none;width:0;height:0}.vs-site-search-form .vs-input--site-search.form-control::-webkit-search-decoration,.vs-site-search-form .vs-input--site-search.form-control::-webkit-search-cancel-button,.vs-site-search-form .vs-input--site-search.form-control::-webkit-search-results-button,.vs-site-search-form .vs-input--site-search.form-control::-webkit-search-results-decoration{display:none}.vs-site-search-form{background-color:rgba(242,242,248,.75);backdrop-filter:blur(30px);padding:1.25rem 0;position:absolute;width:100%}@media(min-width: 992px){.vs-site-search-form{padding:2rem 0}}.vs-site-search-form .cludo-input-form{margin:0}@media(min-width: 992px){.vs-site-search-form .cludo-input-form{margin:.5rem 0}}@media(min-width: 1200px){.vs-site-search-form .cludo-input-form{margin:1rem 0}}.vs-site-search-form__label{position:absolute;left:.75rem;top:50%;transform:translate(0, -50%)}@media(min-width: 992px){.vs-site-search-form__label{left:1.5rem}.vs-site-search-form__label .vs-icon{font-size:20px}}.vs-site-search-form .vs-input--site-search.form-control{font-size:1rem;height:50px;padding:.75rem 1.25rem .75rem 2.5rem;margin:0;border-color:#fff}.vs-site-search-form .vs-input--site-search.form-control:focus{border-color:#3369ff;box-shadow:0 0 0 2px #3369ff inset;outline:none}@media(min-width: 992px){.vs-site-search-form .vs-input--site-search.form-control{padding:1rem 4rem;font-size:1.25rem;height:64px}}.vs-site-search-form__search-button.btn-lg{height:50px;padding:.75rem .5rem;font-size:.875rem}@media(min-width: 992px){.vs-site-search-form__search-button.btn-lg{height:64px;padding:.75rem 2rem;font-size:1rem}}.vs-site-search-form__close-button{position:absolute;right:8px;top:6px}@media(min-width: 1200px){.vs-site-search-form__close-button{right:1rem;top:.5rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.link-list__list{list-style:none;padding:0;margin-bottom:1.75rem}.link-list--toc{background:#f2f2f8;padding:2rem 3rem;width:100%}@media(min-width: 768px){.link-list--toc{max-width:580px}}.link-list--toc .link-list__list{margin-bottom:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vs-blog-details__author{display:block}.vs-blog-details__date{color:#535396}.vs-blog-details__read-time{display:block;margin-bottom:1.5rem;color:#535396}.vs-blog-details__divider{padding:0 .5rem}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|