@visitscotland/component-library 4.13.4 → 4.13.6
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 +3114 -0
- package/dist/client/manifest.json +190 -190
- package/dist/client/scripts/{e0c7a3100e78722074c8.js → 4324eb62d1e12c0d12f8.js} +1 -1
- package/dist/client/scripts/4be8fb5417bc30304c96.js +1 -0
- package/dist/client/styles/{da98310b584fb18aebb0.css → 4be8fb5417bc30304c96.css} +1 -1
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +164 -164
- package/dist/components/vs-component-library.mjs +8204 -8208
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{b8e811cb8d8fa453cda8.css → 122e6a152095e8f5d9aa.css} +1 -1
- package/package.json +231 -231
- package/dist/client/scripts/da98310b584fb18aebb0.js +0 -1
- /package/dist/client/styles/{e0c7a3100e78722074c8.css → 4324eb62d1e12c0d12f8.css} +0 -0
package/dist/ssr/manifest.json
CHANGED
|
@@ -54,7 +54,7 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
|
|
|
54
54
|
.vs-dropdown .dropdown-toggle{font-weight:600;transition:all .2s ease-in-out;text-decoration:none;position:relative;overflow:hidden;border-width:2px;line-height:1.5}.vs-dropdown .dropdown-toggle:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #3369ff}.vs-dropdown .dropdown-toggle{line-height:1;padding:.5rem 1.5rem}.vs-dropdown .dropdown-toggle:hover{background-color:#17359c}.vs-dropdown .dropdown-toggle:active{background-color:#112876}.vs-dropdown .dropdown-toggle::after{display:inline-block;font-family:"Font Awesome Kit";content:"";color:#fff;border:0;font-weight:400;vertical-align:bottom}.vs-dropdown .dropdown-toggle.btn-secondary{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-dropdown .dropdown-toggle.btn-secondary .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-dropdown .dropdown-toggle.btn-secondary:hover{color:#fff;background-color:#17359c;border-color:#17359c}.vs-dropdown .dropdown-toggle.btn-secondary:hover .vs-icon{color:#fff}.vs-dropdown .dropdown-toggle.btn-secondary:active,.vs-dropdown .dropdown-toggle.btn-secondary:active:focus{color:#fff;background-color:#112876;border-color:#112876}.vs-dropdown .dropdown-toggle.btn-secondary:active .vs-icon,.vs-dropdown .dropdown-toggle.btn-secondary:active:focus .vs-icon{color:#fff}.vs-dropdown .dropdown-toggle.btn-secondary::after{color:#1f49d6}.vs-dropdown .dropdown-toggle.btn-secondary:hover::after{color:#fff}.vs-dropdown .dropdown-menu li{border-bottom:1px solid #e9e9e9}.vs-dropdown .dropdown-menu li:last-of-type{border-bottom:0}.vs-dropdown .dropdown-menu li .dropdown-item:hover,.vs-dropdown .dropdown-menu li .dropdown-item.active,.vs-dropdown .dropdown-menu li .dropdown-item:active{color:#1f49d6;background-color:#d6e5ff;outline:0}.vs-dropdown .dropdown-menu li .dropdown-item:focus{outline:0;color:#1f49d6;box-shadow:0 0 0 2px #3369ff inset}.vs-dropdown .btn-content{display:inline-block}.vs-dropdown--fallback{display:none}
|
|
55
55
|
.vs-embed-wrapper__error-image{max-width:100%}.vs-embed-wrapper .vs-embed-wrapper__no-js,.vs-embed-wrapper .vs-embed-wrapper__no-cookies{display:none}.vs-embed-wrapper__error--no-js{display:none}.no-js .vs-embed-wrapper__container{display:none}.no-js .vs-embed-wrapper__intro{display:none}.no-js .vs-embed-wrapper__error{display:none}.no-js .vs-embed-wrapper__error--no-js{display:block}
|
|
56
56
|
.card.vs-event-card{border:none}.card.vs-event-card .card-body{padding:1rem;width:100%;border-bottom:1px solid #e9e9e9}.card.vs-event-card .vs-event-card__date{margin:auto 0;font-size:1.25rem;font-weight:600}.card.vs-event-card .vs-event-card__heading{margin:0}.card.vs-event-card .vs-event-card__header{margin:.5rem 0}.card.vs-event-card .vs-event-card__cta{margin-bottom:.5rem}@media(max-width: 767.98px){.card.vs-event-card .vs-event-card__cta{margin-top:1.5rem}}@media(min-width: 768px){.card.vs-event-card .vs-event-card__header{margin:0 0 0 0}.card.vs-event-card .vs-event-card__heading{margin:.5rem 0}.card.vs-event-card .vs-event-card__date{text-align:right;align-self:middle}.card.vs-event-card .vs-event-card__cta{position:relative;right:0;bottom:3rem;float:right;margin-bottom:-3rem}}
|
|
57
|
-
.vs-filter-section{padding:.75rem 1.25rem}.vs-filter-section:not(:last-child){border-bottom:solid 1px #a3a3cc}.vs-filter-section--inline .vs-filter-section__section{display:flex;gap:1rem}.vs-filter-section--inline .vs-filter-section__section label{font-size:1rem}.vs-filter-section__details[open] .vs-filter-section__summary{margin-bottom:.75rem}.vs-filter-section__details[open] .vs-filter-section__summary .vs-icon{transform:scale(1, 1)}.vs-filter-section__summary{align-items:baseline;display:flex;font-size:1rem;font-weight:600;justify-content:space-between}.vs-filter-section__summary .vs-icon{transform:scale(-1, -1)}.vs-filter-section input[type=date]{width:125px}
|
|
57
|
+
.vs-filter-section{padding:.75rem 1.25rem}.vs-filter-section:not(:last-child){border-bottom:solid 1px #a3a3cc}.vs-filter-section--inline .vs-filter-section__section{display:flex;gap:1rem}.vs-filter-section--inline .vs-filter-section__section label{font-size:1rem}.vs-filter-section__details[open] .vs-filter-section__summary{margin-bottom:.75rem}.vs-filter-section__details[open] .vs-filter-section__summary .vs-icon{transform:scale(1, 1)}.vs-filter-section__summary{align-items:baseline;display:flex;font-size:1rem;font-weight:600;justify-content:space-between;list-style:none}.vs-filter-section__summary::marker,.vs-filter-section__summary::-webkit-details-marker{display:none}.vs-filter-section__summary .vs-icon{transform:scale(-1, -1)}.vs-filter-section input[type=date]{width:125px}
|
|
58
58
|
.vs-filter__panel{background-color:#fff;border:solid 1px #a3a3cc;border-radius:.25rem;overflow:auto}.vs-filter__legend{align-items:baseline;background-color:#f2f2f8;border-bottom:solid 1px #a3a3cc;display:flex;font-size:1.25rem;font-weight:600;gap:.5rem;margin-bottom:0;padding:.75rem 1.25rem}.no-js .vs-filter{display:none}.no-js .vs-filter__wrapper .vs-warning{display:block}
|
|
59
59
|
.vs-footer-accordion-item.vs-accordion-item.card{border-bottom:1px solid #fff;border-top:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__card-header{background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title.vs-heading{margin:.75rem 0;background-color:#200f2e;color:#fff;padding:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{background-color:#200f2e;color:#fff;border-top:1px solid #fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle{text-transform:none !important;letter-spacing:initial;padding:.75rem;font-size:1rem;line-height:1;font-weight:600;text-align:left;color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active .vs-icon,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{text-decoration:underline}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .icon.icon-xs{right:.75rem}@media(min-width: 576px){.vs-footer-accordion-item.vs-accordion-item.card .btn.vs-accordion-toggle{padding:.75rem 1.5rem}}@media(min-width: 768px){.vs-footer-accordion-item.vs-accordion-item.card{border:0;border-left:1px solid #fff;padding:0 .75rem;background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title{margin-top:.25rem}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{padding:0;background-color:#200f2e;border-top:0}}
|
|
60
60
|
.vs-footer-copyright .vs-footer-copyright__logo.vs-link:focus{outline:2px solid #fffa99}.vs-footer-copyright{border-top:1px solid #fff;padding:1.5rem 0}.vs-footer-copyright .vs-footer-copyright__logo{display:inline-block}.vs-footer-copyright .vs-footer-copyright__logo svg{width:166px}.vs-footer-copyright .vs-footer-copyright__text{color:#fff;margin:0;font-size:.75rem}@media(min-width: 992px){.vs-footer-copyright .vs-footer-copyright__text{font-size:.875rem}}@media(min-width: 1200px){.vs-footer-copyright .vs-footer-copyright__text{font-size:1rem}}
|
package/package.json
CHANGED
|
@@ -1,231 +1,231 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@visitscotland/component-library",
|
|
3
|
-
"version": "4.13.
|
|
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/exec": "^7.0.3",
|
|
85
|
-
"@semantic-release/npm": "^12.0.1",
|
|
86
|
-
"@storybook/addon-a11y": "^8.4.6",
|
|
87
|
-
"@storybook/addon-essentials": "^8.4.6",
|
|
88
|
-
"@storybook/addon-interactions": "^8.4.6",
|
|
89
|
-
"@storybook/addon-links": "^8.4.6",
|
|
90
|
-
"@storybook/blocks": "^8.4.6",
|
|
91
|
-
"@storybook/vue3": "^8.4.6",
|
|
92
|
-
"@storybook/vue3-vite": "^8.4.6",
|
|
93
|
-
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
94
|
-
"@typescript-eslint/parser": "^5.59.8",
|
|
95
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
96
|
-
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
97
|
-
"@vue/test-utils": "^2.3.2",
|
|
98
|
-
"@vue/vue3-jest": "^29.2.4",
|
|
99
|
-
"babel-jest": "^29.5.0",
|
|
100
|
-
"babel-loader": "^9.1.2",
|
|
101
|
-
"babel-plugin-macros": "^2.4.2",
|
|
102
|
-
"bootstrap": "^5.3.2",
|
|
103
|
-
"chromatic": "^6.17.3",
|
|
104
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
105
|
-
"commitizen": "^4.3.0",
|
|
106
|
-
"cross-env": "^7.0.3",
|
|
107
|
-
"css-loader": "^6.7.3",
|
|
108
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
109
|
-
"dotenv-webpack": "^8.0.1",
|
|
110
|
-
"eslint": "^8.2.0",
|
|
111
|
-
"eslint-import-resolver-webpack": "^0.13.2",
|
|
112
|
-
"eslint-plugin-import": "^2.25.2",
|
|
113
|
-
"eslint-plugin-storybook": "^0.11.1",
|
|
114
|
-
"eslint-plugin-vue": "^9.11.1",
|
|
115
|
-
"eslint-webpack-plugin": "^4.0.1",
|
|
116
|
-
"file-loader": "^6.2.0",
|
|
117
|
-
"husky": "^8.0.3",
|
|
118
|
-
"jest": "^29.5.0",
|
|
119
|
-
"jest-axe": "^8.0.0",
|
|
120
|
-
"jest-environment-jsdom": "^29.5.0",
|
|
121
|
-
"jest-serializer-vue": "^3.1.0",
|
|
122
|
-
"lint-staged": "^15.2.2",
|
|
123
|
-
"mini-css-extract-plugin": "^2.7.5",
|
|
124
|
-
"moxios": "^0.4.0",
|
|
125
|
-
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
126
|
-
"npm-run-all": "^4.1.5",
|
|
127
|
-
"optimist": "^0.6.1",
|
|
128
|
-
"path": "^0.12.7",
|
|
129
|
-
"postcss-safe-parser": "^6.0.0",
|
|
130
|
-
"prettier": "^3.2.5",
|
|
131
|
-
"require-context.macro": "^1.2.2",
|
|
132
|
-
"sass": "^1.62.1",
|
|
133
|
-
"sass-loader": "^13.2.2",
|
|
134
|
-
"semantic-release": "^24.2.0",
|
|
135
|
-
"speed-measure-webpack-plugin": "^1.5.0",
|
|
136
|
-
"standard-version": "^9.5.0",
|
|
137
|
-
"storybook": "^8.4.6",
|
|
138
|
-
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
139
|
-
"storybook-addon-mock": "^5.0.0",
|
|
140
|
-
"style-loader": "^3.3.2",
|
|
141
|
-
"svgo-loader": "^4.0.0",
|
|
142
|
-
"theo": "^8.1.5",
|
|
143
|
-
"time-analytics-webpack-plugin": "^0.1.20",
|
|
144
|
-
"ts-jest": "^29.1.0",
|
|
145
|
-
"ts-loader": "^9.4.3",
|
|
146
|
-
"typescript": "^5.0.4",
|
|
147
|
-
"upgrade": "^1.1.0",
|
|
148
|
-
"vite": "^5.2.10",
|
|
149
|
-
"vite-plugin-dts": "^3.7.2",
|
|
150
|
-
"vite-plugin-turbosnap": "^1.0.2",
|
|
151
|
-
"vue": "^3.4.19",
|
|
152
|
-
"vue-loader": "^17.1.0",
|
|
153
|
-
"vue-style-loader": "^4.1.3",
|
|
154
|
-
"webpack": "^5.81.0",
|
|
155
|
-
"webpack-cli": "^5.0.2",
|
|
156
|
-
"webpack-manifest-plugin": "^5.0.0",
|
|
157
|
-
"webpack-merge": "^5.1.4",
|
|
158
|
-
"webpack-node-externals": "^3.0.0"
|
|
159
|
-
},
|
|
160
|
-
"dependencies": {
|
|
161
|
-
"@mapbox/geojson-extent": "^1.0.1",
|
|
162
|
-
"@pinia/testing": "^0.1.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
|
+
{
|
|
2
|
+
"name": "@visitscotland/component-library",
|
|
3
|
+
"version": "4.13.6",
|
|
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/exec": "^7.0.3",
|
|
85
|
+
"@semantic-release/npm": "^12.0.1",
|
|
86
|
+
"@storybook/addon-a11y": "^8.4.6",
|
|
87
|
+
"@storybook/addon-essentials": "^8.4.6",
|
|
88
|
+
"@storybook/addon-interactions": "^8.4.6",
|
|
89
|
+
"@storybook/addon-links": "^8.4.6",
|
|
90
|
+
"@storybook/blocks": "^8.4.6",
|
|
91
|
+
"@storybook/vue3": "^8.4.6",
|
|
92
|
+
"@storybook/vue3-vite": "^8.4.6",
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
94
|
+
"@typescript-eslint/parser": "^5.59.8",
|
|
95
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
96
|
+
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
97
|
+
"@vue/test-utils": "^2.3.2",
|
|
98
|
+
"@vue/vue3-jest": "^29.2.4",
|
|
99
|
+
"babel-jest": "^29.5.0",
|
|
100
|
+
"babel-loader": "^9.1.2",
|
|
101
|
+
"babel-plugin-macros": "^2.4.2",
|
|
102
|
+
"bootstrap": "^5.3.2",
|
|
103
|
+
"chromatic": "^6.17.3",
|
|
104
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
105
|
+
"commitizen": "^4.3.0",
|
|
106
|
+
"cross-env": "^7.0.3",
|
|
107
|
+
"css-loader": "^6.7.3",
|
|
108
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
109
|
+
"dotenv-webpack": "^8.0.1",
|
|
110
|
+
"eslint": "^8.2.0",
|
|
111
|
+
"eslint-import-resolver-webpack": "^0.13.2",
|
|
112
|
+
"eslint-plugin-import": "^2.25.2",
|
|
113
|
+
"eslint-plugin-storybook": "^0.11.1",
|
|
114
|
+
"eslint-plugin-vue": "^9.11.1",
|
|
115
|
+
"eslint-webpack-plugin": "^4.0.1",
|
|
116
|
+
"file-loader": "^6.2.0",
|
|
117
|
+
"husky": "^8.0.3",
|
|
118
|
+
"jest": "^29.5.0",
|
|
119
|
+
"jest-axe": "^8.0.0",
|
|
120
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
121
|
+
"jest-serializer-vue": "^3.1.0",
|
|
122
|
+
"lint-staged": "^15.2.2",
|
|
123
|
+
"mini-css-extract-plugin": "^2.7.5",
|
|
124
|
+
"moxios": "^0.4.0",
|
|
125
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
126
|
+
"npm-run-all": "^4.1.5",
|
|
127
|
+
"optimist": "^0.6.1",
|
|
128
|
+
"path": "^0.12.7",
|
|
129
|
+
"postcss-safe-parser": "^6.0.0",
|
|
130
|
+
"prettier": "^3.2.5",
|
|
131
|
+
"require-context.macro": "^1.2.2",
|
|
132
|
+
"sass": "^1.62.1",
|
|
133
|
+
"sass-loader": "^13.2.2",
|
|
134
|
+
"semantic-release": "^24.2.0",
|
|
135
|
+
"speed-measure-webpack-plugin": "^1.5.0",
|
|
136
|
+
"standard-version": "^9.5.0",
|
|
137
|
+
"storybook": "^8.4.6",
|
|
138
|
+
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
139
|
+
"storybook-addon-mock": "^5.0.0",
|
|
140
|
+
"style-loader": "^3.3.2",
|
|
141
|
+
"svgo-loader": "^4.0.0",
|
|
142
|
+
"theo": "^8.1.5",
|
|
143
|
+
"time-analytics-webpack-plugin": "^0.1.20",
|
|
144
|
+
"ts-jest": "^29.1.0",
|
|
145
|
+
"ts-loader": "^9.4.3",
|
|
146
|
+
"typescript": "^5.0.4",
|
|
147
|
+
"upgrade": "^1.1.0",
|
|
148
|
+
"vite": "^5.2.10",
|
|
149
|
+
"vite-plugin-dts": "^3.7.2",
|
|
150
|
+
"vite-plugin-turbosnap": "^1.0.2",
|
|
151
|
+
"vue": "^3.4.19",
|
|
152
|
+
"vue-loader": "^17.1.0",
|
|
153
|
+
"vue-style-loader": "^4.1.3",
|
|
154
|
+
"webpack": "^5.81.0",
|
|
155
|
+
"webpack-cli": "^5.0.2",
|
|
156
|
+
"webpack-manifest-plugin": "^5.0.0",
|
|
157
|
+
"webpack-merge": "^5.1.4",
|
|
158
|
+
"webpack-node-externals": "^3.0.0"
|
|
159
|
+
},
|
|
160
|
+
"dependencies": {
|
|
161
|
+
"@mapbox/geojson-extent": "^1.0.1",
|
|
162
|
+
"@pinia/testing": "^0.1.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.VsVsFilterSection=e():t.VsVsFilterSection=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7282],{54107:function(){},49051:function(t,e,n){"use strict";var i=n(20641),s=n(90033),r=n(46422),o={key:0,class:"vs-filter-section__details"},l={class:"vs-filter-section__summary"},c={key:1,class:"vs-filter-section__section"};e.A={__name:"VsFilterSection",props:{sectionTitle:{type:String,default:void 0},type:{type:String,default:"list",validator:function(t){return t.match(/(inline|group|list)/)}}},setup:function(t){var e=t,n=(0,i.EW)((function(){return{"vs-filter-section":!0,"vs-filter-section--inline":"inline"===e.type}}));return function(t,u){return(0,i.uX)(),(0,i.CE)("div",{class:(0,s.normalizeClass)(n.value),"data-test":"vs-filter-section"},["group"===e.type?((0,i.uX)(),(0,i.CE)("details",o,[(0,i.Lk)("summary",l,[(0,i.eW)((0,s.toDisplayString)(e.sectionTitle)+" ",1),(0,i.bF)(r.default,{name:"chevron",variant:"tertiary"})]),(0,i.RG)(t.$slots,"default")])):((0,i.uX)(),(0,i.CE)("div",c,[(0,i.RG)(t.$slots,"default")]))],2)}}}},86293:function(t,e,n){"use strict";var i=n(85072),s=n.n(i),r=n(97825),o=n.n(r),l=n(77659),c=n.n(l),u=n(55056),a=n.n(u),f=n(10540),d=n.n(f),p=n(41113),v=n.n(p),y=n(54107),m=n.n(y),_={};_.styleTagTransform=v(),_.setAttributes=a(),_.insert=c().bind(null,"head"),_.domAPI=o(),_.insertStyleElement=d(),s()(m(),_),m()&&m().locals&&m().locals},19783:function(t,e,n){"use strict";n.r(e);var i=n(25647);n(46969);const s=i.A;e.default=s},25647:function(t,e,n){"use strict";n.d(e,{A:function(){return i.A}});var i=n(49051)},46969:function(t,e,n){"use strict";n(86293)}},function(t){return t.O(0,[641,6262,7510,4467,6422],(function(){return t(t.s=19783)})),t.O()}])}));
|
|
File without changes
|