@visitscotland/component-library 5.15.1 → 5.15.3
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/dist/client/manifest.json +38 -38
- package/dist/client/scripts/465be4f4d4ddbe9b4741.js +1 -0
- package/dist/client/scripts/5f1fb56b0d235de7a280.js +1 -0
- package/dist/client/scripts/66d5a4a2cf08cdaa86bb.js +1 -0
- package/dist/client/scripts/6a8e8fabd2fa07e4709a.js +1 -0
- package/dist/client/scripts/70f85bd1939b0ffd41bc.js +1 -0
- package/dist/client/scripts/{ac41271cb234a2aeb156.js → da2e15296fabbccab55c.js} +1 -1
- package/dist/client/scripts/e9fdb60cef82c8616777.js +1 -0
- package/dist/client/styles/{a9fc8cd86cad82a9fc6d.css → 4fbfda37596f16bf48b4.css} +1 -1
- package/dist/client/styles/{1a19296a134c900b079f.css → 5f1fb56b0d235de7a280.css} +1 -1
- package/dist/client/styles/{782ce1733a2189c4cd61.css → 6a8e8fabd2fa07e4709a.css} +1 -1
- package/dist/client/styles/70f85bd1939b0ffd41bc.css +1 -0
- package/dist/client/styles/e9fdb60cef82c8616777.css +1 -0
- package/dist/components/stores/federatedSearch.store.d.ts +4 -1
- package/dist/components/style.css +1 -1
- package/dist/components/utils/federated-search/event-search.d.ts +1 -1
- package/dist/components/vs-component-library.js +37 -37
- package/dist/components/vs-component-library.mjs +828 -818
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{20d4555680a1b9658555.css → a2de22def952bbe88547.css} +5 -5
- package/package.json +1 -1
- package/dist/client/scripts/19aeb43187cf24c041e1.js +0 -1
- package/dist/client/scripts/1a19296a134c900b079f.js +0 -1
- package/dist/client/scripts/5fa872e7e946763cbd0e.js +0 -1
- package/dist/client/scripts/782ce1733a2189c4cd61.js +0 -1
- package/dist/client/scripts/dc8de28fbf0095a6bdc4.js +0 -1
- package/dist/client/scripts/e1a9c05b00e62952f8e6.js +0 -1
- package/dist/client/styles/19aeb43187cf24c041e1.css +0 -1
- package/dist/client/styles/e1a9c05b00e62952f8e6.css +0 -1
- /package/dist/client/scripts/{a9fc8cd86cad82a9fc6d.js → 4fbfda37596f16bf48b4.js} +0 -0
- /package/dist/client/styles/{dc8de28fbf0095a6bdc4.css → 465be4f4d4ddbe9b4741.css} +0 -0
- /package/dist/client/styles/{5fa872e7e946763cbd0e.css → 66d5a4a2cf08cdaa86bb.css} +0 -0
- /package/dist/client/styles/{ac41271cb234a2aeb156.css → da2e15296fabbccab55c.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.vs-fed-search-input .vs-fed-search__input{display:flex;position:relative;z-index:1;padding:1rem 0}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input{padding:2rem 0}}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input{flex-grow:1}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input{margin-right:1rem}}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label{position:absolute;left:.75rem;top:50%;transform:translate(0, -50%)}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label{left:1.5rem}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label .vs-icon{font-size:20px}}.vs-fed-search-input .vs-fed-search__input .vs-input.form-control{font-size:1rem;padding:.75rem 1.25rem .75rem 2.5rem;margin:0;border-radius:1000rem}.vs-fed-search-input .vs-fed-search__input .vs-input.form-control:focus{border-color:#3369ff;box-shadow:0 0 0 2px #3369ff inset;outline:none}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-input.form-control{padding:1rem 1rem 1rem 4rem;font-size:1.25rem;height:3rem}}.vs-fed-search-
|
|
1
|
+
.vs-fed-search-input .vs-fed-search__input{display:flex;position:relative;z-index:1;padding:1rem 0}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input{padding:2rem 0}}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input{flex-grow:1}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input{margin-right:1rem}}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label{position:absolute;left:.75rem;top:50%;transform:translate(0, -50%)}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label{left:1.5rem}.vs-fed-search-input .vs-fed-search__input .vs-fed-search__text-input label .vs-icon{font-size:20px}}.vs-fed-search-input .vs-fed-search__input .vs-input.form-control{font-size:1rem;padding:.75rem 1.25rem .75rem 2.5rem;margin:0;border-radius:1000rem}.vs-fed-search-input .vs-fed-search__input .vs-input.form-control:focus{border-color:#3369ff;box-shadow:0 0 0 2px #3369ff inset;outline:none}@media(min-width: 992px){.vs-fed-search-input .vs-fed-search__input .vs-input.form-control{padding:1rem 1rem 1rem 4rem;font-size:1.25rem;height:3rem}}.vs-fed-search-input__autocomplete{position:absolute;z-index:10;background-color:#fff;width:90%;margin:0 auto;border:1px solid #e9e9e9}@media(max-width: 991.98px){.vs-fed-search-input__autocomplete{width:100%;right:0}}.vs-fed-search-input__autocomplete__suggestion{padding:.5rem .5rem;text-decoration:none}.vs-fed-search-input__autocomplete__suggestion:hover{background:#d6e5ff}.vs-fed-search-input__autocomplete__suggestion:focus{border-color:#3369ff;box-shadow:0 0 0 2px #3369ff inset;outline:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vs-fed-search-sort__label{font-weight:400}.vs-fed-search-sort__dropdown-wrapper{display:flex;align-items:flex-end}.vs-fed-search-sort__dropdown-wrapper button{height:50px}@media(max-width:
|
|
1
|
+
.vs-fed-search-sort__label{font-weight:400}.vs-fed-search-sort__dropdown-wrapper{display:flex;align-items:flex-end}.vs-fed-search-sort__dropdown-wrapper button{height:50px}@media(max-width: 767.98px){.vs-fed-search-sort__dropdown-wrapper{display:block;margin-top:1rem}.vs-fed-search-sort__dropdown-wrapper button{width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-hero-section{background:#fff;--grid-columns: 12px 1fr 1fr 12px;--content_maxwidth: 100%;--container-col: 2 / span 2;--container-row: 1;--image-col: 1 / -1;--image-row: 2;--inset-image-col: 2 / span 2;--divider-col: 2 / span 2;--divider-row: 2}@media(min-width: 576px){.vs-hero-section{--content_maxwidth: 516px;--grid-columns: 1fr min-content min-content 1fr}}@media(min-width: 768px){.vs-hero-section{--content_maxwidth: 696px}}@media(min-width: 992px){.vs-hero-section{--content_maxwidth: 936px}}@media(min-width: 1200px){.vs-hero-section{--content_maxwidth: 1116px}}@media(min-width: 1400px){.vs-hero-section{--content_maxwidth: 1316px}}.vs-hero-section__grid{display:grid;grid-template-columns:var(--grid-columns);width:100%;position:relative}.vs-hero-section__image{grid-row:var(--image-row);grid-column:var(--image-col)}.vs-hero-section__image--inset{grid-column:var(--inset-image-col);padding:0}.vs-hero-section__text-container{position:relative;grid-row:var(--container-row);grid-column:var(--container-col);width:var(--content_maxwidth);padding:1.5rem 0 2.5rem 0}@media(min-width: 992px){.vs-hero-section__text-container{padding:3rem 0}}.vs-hero-section__text{width:100%}@media(min-width: 576px){.vs-hero-section__text{width:80%}}@media(min-width: 768px){.vs-hero-section__text{width:70%}}@media(min-width: 992px){.vs-hero-section__text{width:100%;display:grid;grid-template-columns:1.5fr 1fr;gap:6rem}}@media(min-width: 1200px){.vs-hero-section__text{grid-template-columns:1.5fr .75fr}}.vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#5b2487}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}.vs-hero-section__video-wrapper{grid-row:1;grid-column:1/-1;position:relative;line-height:0}.vs-hero-section__video-wrapper .vs-hero-section__video{width:100%;height:560px;object-fit:cover}@media(min-width: 576px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:648px}}@media(min-width: 992px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:812px}}.vs-hero-section__video-wrapper .vs-hero-section__video-overlay{position:absolute;top:0;left:0;width:100%;height:100%;transition:opacity 1s;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%)}.vs-hero-section .vs-hero-section__text-container--video{color:#fff}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section-video-control{position:absolute;bottom:5rem;right:1.25rem}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;position:absolute;bottom:5rem;width:70%}@media(min-width: 768px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{width:50%}}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#fff;text-wrap:balance}@media(min-width: 992px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9;grid-row:var(--divider-row);grid-column:var(--divider-col)}.vs-hero-section--split{--split-image-row: 1;--split-image-col: 1 / -1;--split-container-row: 2;--split-container-col: 2 / -2}@media(min-width: 992px){.vs-hero-section--split{--split-container-row: 1;--split-container-col: 2 / span 2;--split-image-row: 1;--split-image-col: 3 / span 2}}.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col);position:relative;overflow:hidden;z-index:0;min-height:14rem;max-width:1000px}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col)}}.vs-hero-section--split .vs-hero-section__text-container{grid-row:var(--split-container-row);grid-column:var(--split-container-col);padding-top:0}.vs-hero-section--split .vs-hero-section__text{height:100%;width:100%;padding:0}@media(min-width: 576px){.vs-hero-section--split .vs-hero-section__text{width:75%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;place-content:center;width:42%}}@media(min-width: 1400px){.vs-hero-section--split .vs-hero-section__text{width:40%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vs-federated-search__pagination{margin:4rem 0rem 3rem 0rem}@media(max-width: 991.98px){.vs-federated-search__pagination{margin:1rem 0rem 2rem 0rem}}.vs-federated-search__error--no-js{display:none}.vs-federated-search__results{display:flex;justify-content:space-between;margin-bottom:2rem}@media(max-width: 991.98px){.vs-federated-search__results{flex-direction:column;gap:2rem}}.no-js .vs-federated-search__container{display:none}.no-js .vs-federated-search__error--no-js{display:block}
|
|
@@ -23,13 +23,14 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
23
23
|
selectedCategory: import('vue').Ref<any, any>;
|
|
24
24
|
selectedCategoryKey: import('vue').Ref<any, any>;
|
|
25
25
|
selectedSubCategory: import('vue').Ref<any[], any[]>;
|
|
26
|
+
selectedSubCategoryKey: import('vue').Ref<any[], any[]>;
|
|
26
27
|
totalResults: import('vue').Ref<any, any>;
|
|
27
28
|
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
28
29
|
isHomePage: import('vue').Ref<boolean, boolean>;
|
|
29
30
|
startDate: import('vue').Ref<string, string>;
|
|
30
31
|
endDate: import('vue').Ref<string, string>;
|
|
31
32
|
sortBy: import('vue').Ref<any, any>;
|
|
32
|
-
}, "currentPage" | "isHomePage" | "selectedSubCategory" | "isLoading" | "selectedCategory" | "searchTerm" | "endDate" | "startDate" | "cludoCategories" | "cludoCredentials" | "cludoError" | "eventsApi" | "eventsApiError" | "results" | "selectedCategoryKey" | "totalResults" | "sortBy">, Pick<{
|
|
33
|
+
}, "currentPage" | "isHomePage" | "selectedSubCategory" | "isLoading" | "selectedCategory" | "searchTerm" | "endDate" | "startDate" | "cludoCategories" | "cludoCredentials" | "cludoError" | "eventsApi" | "eventsApiError" | "results" | "selectedCategoryKey" | "selectedSubCategoryKey" | "totalResults" | "sortBy">, Pick<{
|
|
33
34
|
cludoCategories: import('vue').Ref<any, any>;
|
|
34
35
|
currentPage: import('vue').Ref<number, number>;
|
|
35
36
|
cludoCredentials: import('vue').Ref<{
|
|
@@ -52,6 +53,7 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
52
53
|
selectedCategory: import('vue').Ref<any, any>;
|
|
53
54
|
selectedCategoryKey: import('vue').Ref<any, any>;
|
|
54
55
|
selectedSubCategory: import('vue').Ref<any[], any[]>;
|
|
56
|
+
selectedSubCategoryKey: import('vue').Ref<any[], any[]>;
|
|
55
57
|
totalResults: import('vue').Ref<any, any>;
|
|
56
58
|
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
57
59
|
isHomePage: import('vue').Ref<boolean, boolean>;
|
|
@@ -81,6 +83,7 @@ declare const useFederatedSearchStore: import('pinia').StoreDefinition<"federate
|
|
|
81
83
|
selectedCategory: import('vue').Ref<any, any>;
|
|
82
84
|
selectedCategoryKey: import('vue').Ref<any, any>;
|
|
83
85
|
selectedSubCategory: import('vue').Ref<any[], any[]>;
|
|
86
|
+
selectedSubCategoryKey: import('vue').Ref<any[], any[]>;
|
|
84
87
|
totalResults: import('vue').Ref<any, any>;
|
|
85
88
|
navigateToResultsPage: (resetPageNo?: boolean) => void;
|
|
86
89
|
isHomePage: import('vue').Ref<boolean, boolean>;
|