@visitscotland/component-library 5.82.2 → 5.83.1
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/styles/third-party/_cludo-search-results.css +1 -1
- package/dist/components/{LoadingSpinner-D6U_GpKN.mjs → LoadingSpinner-BcoaV7l_.mjs} +1360 -1324
- package/dist/components/{LoadingSpinner-CLPKiKoA.js → LoadingSpinner-CEXDwvlo.js} +10 -10
- package/dist/components/components/accordion/components/AccordionItem.vue.d.ts +104 -32
- package/dist/components/components/accordion/components/AccordionToggle.vue.d.ts +52 -16
- package/dist/components/components/address/Address.vue.d.ts +52 -16
- package/dist/components/components/alert/Alert.vue.d.ts +52 -16
- package/dist/components/components/article-details/ArticleDetails.vue.d.ts +52 -16
- package/dist/components/components/banner/Banner.vue.d.ts +104 -32
- package/dist/components/components/button/Button.vue.d.ts +52 -16
- package/dist/components/components/button-toggle-group/ButtonToggleGroup.vue.d.ts +52 -16
- package/dist/components/components/canned-search/CannedSearch.vue.d.ts +208 -64
- package/dist/components/components/canned-search/components/CannedSearchLogos.vue.d.ts +52 -16
- package/dist/components/components/canned-search/components/CannedSearchProductCard.vue.d.ts +52 -16
- package/dist/components/components/canned-search/components/CannedSearchSummaryBox.vue.d.ts +52 -16
- package/dist/components/components/caption/Caption.vue.d.ts +52 -16
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +416 -128
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts +52 -16
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +104 -32
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorRunningTotal.vue.d.ts +52 -16
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorTip.vue.d.ts +52 -16
- package/dist/components/components/card/Card.vue.d.ts +52 -16
- package/dist/components/components/carousel/Carousel.vue.d.ts +52 -16
- package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +260 -80
- package/dist/components/components/content-swiper/ContentSwiper.vue.d.ts +52 -16
- package/dist/components/components/detail/Detail.vue.d.ts +52 -16
- package/dist/components/components/embed-wrapper/EmbedWrapper.vue.d.ts +104 -32
- package/dist/components/components/event-card/EventCard.vue.d.ts +52 -16
- package/dist/components/components/footer/components/FooterAccordionItem.vue.d.ts +104 -32
- package/dist/components/components/footer/components/FooterCopyright.vue.d.ts +52 -16
- package/dist/components/components/footer/components/FooterNavListItem.vue.d.ts +52 -16
- package/dist/components/components/footer/components/FooterSocialItem.vue.d.ts +104 -32
- package/dist/components/components/form/Form.vue.d.ts +208 -64
- package/dist/components/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +52 -16
- package/dist/components/components/hero-section/HeroSection.vue.d.ts +208 -64
- package/dist/components/components/icon/Icon.vue.d.ts +52 -16
- package/dist/components/components/icon-list/components/IconListItem.vue.d.ts +52 -16
- package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +364 -112
- package/dist/components/components/input/Input.vue.d.ts +52 -16
- package/dist/components/components/itineraries/Itinerary.vue.d.ts +52 -16
- package/dist/components/components/itineraries/components/ItineraryDay.vue.d.ts +156 -48
- package/dist/components/components/itineraries/components/ItineraryStop.vue.d.ts +104 -32
- package/dist/components/components/itineraries/components/ItineraryStopInfo.vue.d.ts +104 -32
- package/dist/components/components/link/Link.vue.d.ts +52 -16
- package/dist/components/components/link-list/components/LinkListItem.vue.d.ts +52 -16
- package/dist/components/components/listicle/ListicleItem.vue.d.ts +52 -16
- package/dist/components/components/map/Map.vue.d.ts +104 -32
- package/dist/components/components/map/components/MapMarker.vue.d.ts +52 -16
- package/dist/components/components/map-marker-icon/MapMarkerIcon.vue.d.ts +52 -16
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +676 -208
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarButtons.vue.d.ts +52 -16
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarCategory.vue.d.ts +104 -32
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarControls.vue.d.ts +52 -16
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +52 -16
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +364 -112
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarSubcategory.vue.d.ts +52 -16
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +364 -112
- package/dist/components/components/mega-nav/components/MegaNavAccordionItem.vue.d.ts +156 -48
- package/dist/components/components/mega-nav/components/MegaNavDropdown.vue.d.ts +52 -16
- package/dist/components/components/mega-nav/components/MegaNavDropdownContainer.vue.d.ts +104 -32
- package/dist/components/components/mega-nav/components/MegaNavFeaturedEvent.vue.d.ts +208 -64
- package/dist/components/components/mega-nav/components/MegaNavFeaturedItem.vue.d.ts +208 -64
- package/dist/components/components/mega-nav/components/MegaNavListItem.vue.d.ts +52 -16
- package/dist/components/components/mega-nav/components/MegaNavStaticLink.vue.d.ts +52 -16
- package/dist/components/components/megalinks/Megalinks.vue.d.ts +52 -16
- package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +260 -80
- package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +260 -80
- package/dist/components/components/megalinks/components/megalink-single-image/MegalinkSingleImage.vue.d.ts +52 -16
- package/dist/components/components/modal/Modal.vue.d.ts +52 -16
- package/dist/components/components/navigation-bar/NavigationBar.vue.d.ts +156 -48
- package/dist/components/components/navigation-bar/components/NavigationBarSearch.vue.d.ts +208 -64
- package/dist/components/components/navigation-bar/components/NavigationBarSidebar.vue.d.ts +52 -16
- package/dist/components/components/navigation-bar/components/NavigationBarSidebarButton.vue.d.ts +104 -32
- package/dist/components/components/number-input/NumberInput.vue.d.ts +52 -16
- package/dist/components/components/product-search/ProductSearch.vue.d.ts +104 -32
- package/dist/components/components/quote/Quote.vue.d.ts +52 -16
- package/dist/components/components/site-search/SiteSearch.vue.d.ts +52 -16
- package/dist/components/components/site-search/components/SiteSearchForm.vue.d.ts +156 -48
- package/dist/components/components/ski-scotland/ski-scotland-card/SkiScotlandCard.vue.d.ts +208 -64
- package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +364 -112
- package/dist/components/components/skip-to/SkipTo.vue.d.ts +52 -16
- package/dist/components/components/social-credit-link/SocialCreditLink.vue.d.ts +104 -32
- package/dist/components/components/social-share/SocialShare.vue.d.ts +52 -16
- package/dist/components/components/social-share/components/SocialShareItem.vue.d.ts +104 -32
- package/dist/components/components/spotlight-section/SpotlightSection.vue.d.ts +52 -16
- package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +208 -64
- package/dist/components/components/stretched-link-card/components/StretchedLinkPanels.vue.d.ts +52 -16
- package/dist/components/components/styled-list/StyledList.vue.d.ts +20 -45
- package/dist/components/components/styled-list/components/StyledListItem.vue.d.ts +28 -93
- package/dist/components/components/summary-box/components/SummaryBoxListItem.vue.d.ts +52 -16
- package/dist/components/components/svg-link/SvgLink.vue.d.ts +52 -16
- package/dist/components/components/tag/Tag.vue.d.ts +52 -16
- package/dist/components/components/toggle-button/ToggleButton.vue.d.ts +104 -32
- package/dist/components/components/tooltip/Tooltip.vue.d.ts +52 -16
- package/dist/components/components/video/Video.vue.d.ts +208 -64
- package/dist/components/components/video/components/VideoHtml5.vue.d.ts +104 -32
- package/dist/components/components/video/components/VideoYoutube.vue.d.ts +104 -32
- package/dist/components/components/video-caption/VideoCaption.vue.d.ts +260 -80
- package/dist/components/components/warning/Warning.vue.d.ts +104 -32
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +2 -2
- package/dist/components/vs-component-library.mjs +17 -65
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, renderSlot, inject, computed as computed$1, toValue, watch, ref, onMounted, nextTick as nextTick$1, getCurrentInstance, readonly, onBeforeUnmount, onUnmounted, defineComponent, unref, toRef, useId, shallowRef, useSlots, useModel, useTemplateRef, createBlock, withCtx, Transition, mergeProps, withDirectives, createElementVNode, withModifiers, normalizeClass, normalizeProps, guardReactiveProps, resolveDynamicComponent, createTextVNode, toDisplayString, Fragment, createCommentVNode, createVNode, vShow, normalizeStyle, mergeModels, provide, onActivated, renderList, useAttrs, render as render$e, h, vModelSelect, withKeys, resolveComponent, resolveDirective, createSlots, reactive, onBeforeMount, isRef, isReactive, isReadonly, onUpdated, onBeforeUpdate, isVNode, markRaw, Teleport, toHandlers, vModelText, watchEffect, Suspense } from "vue";
|
|
2
|
-
import { _ as _export_sfc, b as breadcrumbGlobalIndexKey, a as breadcrumbRegistryKey, u as useEventListener, s as showHideRegistryKey, c as useThrottleFn, d as useDefaults, g as getSafeDocument, e as createSharedComposable, f as useScrollLock$1, h as useMutationObserver, i as getSafeWindow, t as toArray, j as unrefElement, n as notNullish, k as tryOnScopeDispose, l as useId$1, o as onKeyStroke, m as isEmptySlot, p as useColorVariantClasses, q as getModalZIndex, C as ConditionalTeleport_default, B as BButton_default, r as modalManagerKey, v as getSSRHandler, w as progressInjectionKey, x as useToNumber, y as formGroupKey, z as useAriaInvalid, A as useStateClass, D as useFocus, E as inputGroupKey, F as get$1, G as useBLinkHelper, H as BLink_default, I as ConditionalWrapper_default, J as pick, K as omit$2, L as BImg_default, M as offset$2, N as flip$2, O as autoPlacement, P as shift$2, Q as hide, R as inline, S as arrow$2, T as size, U as useFloating, V as autoUpdate$1, W as onClickOutside, X as useMouse$2, Y as buttonGroupKey, Z as dropdownInjectionKey, $ as collapseInjectionKey, a0 as navbarInjectionKey, a1 as formSelectKey, a2 as isVisible, a3 as useBreakpoints, a4 as breakpointsBootstrapV5, a5 as tabsInjectionKey, a6 as sortSlotElementsByPosition, a7 as defaultsKey, a8 as VsButton, a9 as dataLayerMixin, aa as VsHeading, ab as VsIcon, ac as lodashExports, ad as VsBody, ae as VsContainer, af as VsRow, ag as VsCol, ah as dmoUrls, ai as VsImg, aj as axios, ak as designTokens, al as BFormRadio_default, am as BFormRadioGroup_default, an as BFormGroup_default, ao as VsWarning, ap as BFormCheckbox_default, aq as getDefaultExportFromCjs, ar as VsLoading, as as products, at as paths, au as monthsEnglish, av as BThead_default, aw as BTh_default, ax as BTbody_default, ay as BTr_default, az as BTd_default, aA as BTfoot_default, aB as useDataLayerStore, aC as checkVendorLibrary, aD as siteSearchCloseTemplate, aE as siteSearchClickTemplate, aF as siteSearchUsageTemplate, aG as siteSearchOpenTemplate, aH as googleMapInteractionTemplate, aI as googleMapTimeToFirstInteractionTemplate, aJ as googleMapFilterInteractionTemplate, aK as googleMapSearchTemplate } from "./LoadingSpinner-
|
|
3
|
-
import { aL as Ie } from "./LoadingSpinner-
|
|
2
|
+
import { _ as _export_sfc, b as breadcrumbGlobalIndexKey, a as breadcrumbRegistryKey, u as useEventListener, s as showHideRegistryKey, c as useThrottleFn, d as useDefaults, g as getSafeDocument, e as createSharedComposable, f as useScrollLock$1, h as useMutationObserver, i as getSafeWindow, t as toArray, j as unrefElement, n as notNullish, k as tryOnScopeDispose, l as useId$1, o as onKeyStroke, m as isEmptySlot, p as useColorVariantClasses, q as getModalZIndex, C as ConditionalTeleport_default, B as BButton_default, r as modalManagerKey, v as getSSRHandler, w as progressInjectionKey, x as useToNumber, y as formGroupKey, z as useAriaInvalid, A as useStateClass, D as useFocus, E as inputGroupKey, F as get$1, G as useBLinkHelper, H as BLink_default, I as ConditionalWrapper_default, J as pick, K as omit$2, L as BImg_default, M as offset$2, N as flip$2, O as autoPlacement, P as shift$2, Q as hide, R as inline, S as arrow$2, T as size, U as useFloating, V as autoUpdate$1, W as onClickOutside, X as useMouse$2, Y as buttonGroupKey, Z as dropdownInjectionKey, $ as collapseInjectionKey, a0 as navbarInjectionKey, a1 as formSelectKey, a2 as isVisible, a3 as useBreakpoints, a4 as breakpointsBootstrapV5, a5 as tabsInjectionKey, a6 as sortSlotElementsByPosition, a7 as defaultsKey, a8 as VsButton, a9 as dataLayerMixin, aa as VsHeading, ab as VsIcon, ac as lodashExports, ad as VsBody, ae as VsContainer, af as VsRow, ag as VsCol, ah as dmoUrls, ai as VsImg, aj as axios, ak as designTokens, al as BFormRadio_default, am as BFormRadioGroup_default, an as BFormGroup_default, ao as VsWarning, ap as BFormCheckbox_default, aq as getDefaultExportFromCjs, ar as VsLoading, as as products, at as paths, au as monthsEnglish, av as BThead_default, aw as BTh_default, ax as BTbody_default, ay as BTr_default, az as BTd_default, aA as BTfoot_default, aB as useDataLayerStore, aC as checkVendorLibrary, aD as siteSearchCloseTemplate, aE as siteSearchClickTemplate, aF as siteSearchUsageTemplate, aG as siteSearchOpenTemplate, aH as googleMapInteractionTemplate, aI as googleMapTimeToFirstInteractionTemplate, aJ as googleMapFilterInteractionTemplate, aK as googleMapSearchTemplate } from "./LoadingSpinner-BcoaV7l_.mjs";
|
|
3
|
+
import { aL as Ie } from "./LoadingSpinner-BcoaV7l_.mjs";
|
|
4
4
|
import { defineStore, storeToRefs } from "pinia";
|
|
5
5
|
const _sfc_main$2G = {
|
|
6
6
|
name: "VsAccordion",
|
|
@@ -35710,25 +35710,11 @@ function _sfc_render$9(e, t, n, a, o, r) {
|
|
|
35710
35710
|
t[0] || (t[0] = createElementVNode("div", { class: "vs-spotlight-section__gradient-overlay" }, null, -1))
|
|
35711
35711
|
], 6);
|
|
35712
35712
|
}
|
|
35713
|
-
const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$9]]), _hoisted_1$f = { class: "vs-styled-list__list" }, _hoisted_2$a = { class: "vs-styled-list__source" }, _sfc_main$i = {
|
|
35713
|
+
const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$9]]), _hoisted_1$f = { class: "vs-styled-list__list" }, _hoisted_2$a = { class: "vs-styled-list__source" }, _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
35714
35714
|
__name: "StyledList",
|
|
35715
35715
|
props: {
|
|
35716
|
-
|
|
35717
|
-
|
|
35718
|
-
*/
|
|
35719
|
-
source: {
|
|
35720
|
-
type: String,
|
|
35721
|
-
default: null
|
|
35722
|
-
},
|
|
35723
|
-
/**
|
|
35724
|
-
* Determines the list style.
|
|
35725
|
-
* @values icon, image, image-horizontal, numbered
|
|
35726
|
-
*/
|
|
35727
|
-
variant: {
|
|
35728
|
-
type: String,
|
|
35729
|
-
default: "icon",
|
|
35730
|
-
validator: (e) => ["icon", "image", "image-horizontal", "numbered"].includes(e)
|
|
35731
|
-
}
|
|
35716
|
+
source: { default: null },
|
|
35717
|
+
variant: { default: "icon" }
|
|
35732
35718
|
},
|
|
35733
35719
|
setup(e) {
|
|
35734
35720
|
const t = e;
|
|
@@ -35766,52 +35752,17 @@ const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _s
|
|
|
35766
35752
|
})
|
|
35767
35753
|
], 2));
|
|
35768
35754
|
}
|
|
35769
|
-
}, _hoisted_1$e = {
|
|
35755
|
+
}), _hoisted_1$e = {
|
|
35770
35756
|
class: "vs-styled-list__item",
|
|
35771
35757
|
"data-test": "vs-styled-list__item"
|
|
35772
|
-
}, _sfc_main$h = {
|
|
35758
|
+
}, _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
35773
35759
|
__name: "StyledListItem",
|
|
35774
35760
|
props: {
|
|
35775
|
-
|
|
35776
|
-
|
|
35777
|
-
|
|
35778
|
-
|
|
35779
|
-
|
|
35780
|
-
required: !0
|
|
35781
|
-
},
|
|
35782
|
-
/**
|
|
35783
|
-
* The correct heading level for page hierarchy, the
|
|
35784
|
-
* heading will be styled the same regardless of level provided
|
|
35785
|
-
* `1|2|3|4|5|6`
|
|
35786
|
-
*/
|
|
35787
|
-
headingLevel: {
|
|
35788
|
-
type: Number,
|
|
35789
|
-
default: 3,
|
|
35790
|
-
validator: (e) => lodashExports.isNumber(e) ? e > 0 && e < 7 : e.match(/(1|2|3|4|5|6)/)
|
|
35791
|
-
},
|
|
35792
|
-
/**
|
|
35793
|
-
* Image source of the list item.
|
|
35794
|
-
*/
|
|
35795
|
-
imageSrc: {
|
|
35796
|
-
type: String,
|
|
35797
|
-
default: null
|
|
35798
|
-
},
|
|
35799
|
-
/**
|
|
35800
|
-
* Determines column layout and image position.
|
|
35801
|
-
* @values icon, image, image-horizontal, numbered
|
|
35802
|
-
*/
|
|
35803
|
-
variant: {
|
|
35804
|
-
type: String,
|
|
35805
|
-
default: "icon",
|
|
35806
|
-
validator: (e) => ["icon", "image", "image-horizontal", "numbered"].includes(e)
|
|
35807
|
-
},
|
|
35808
|
-
/**
|
|
35809
|
-
* ID of the anchor link if needed
|
|
35810
|
-
*/
|
|
35811
|
-
anchorLink: {
|
|
35812
|
-
type: String,
|
|
35813
|
-
default: ""
|
|
35814
|
-
}
|
|
35761
|
+
anchorLink: { default: "" },
|
|
35762
|
+
heading: {},
|
|
35763
|
+
headingLevel: { default: 3 },
|
|
35764
|
+
imageSrc: { default: null },
|
|
35765
|
+
variant: { default: "icon" }
|
|
35815
35766
|
},
|
|
35816
35767
|
setup(e) {
|
|
35817
35768
|
const t = e;
|
|
@@ -35824,9 +35775,10 @@ const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _s
|
|
|
35824
35775
|
md: "2"
|
|
35825
35776
|
}, {
|
|
35826
35777
|
default: withCtx(() => [
|
|
35827
|
-
|
|
35778
|
+
t.imageSrc ? (openBlock(), createBlock(VsImg, {
|
|
35779
|
+
key: 0,
|
|
35828
35780
|
src: t.imageSrc
|
|
35829
|
-
}, null, 8, ["src"])
|
|
35781
|
+
}, null, 8, ["src"])) : createCommentVNode("", !0)
|
|
35830
35782
|
]),
|
|
35831
35783
|
_: 1
|
|
35832
35784
|
})) : createCommentVNode("", !0),
|
|
@@ -35834,7 +35786,7 @@ const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _s
|
|
|
35834
35786
|
md: t.variant === "image" ? "10" : "12"
|
|
35835
35787
|
}, {
|
|
35836
35788
|
default: withCtx(() => [
|
|
35837
|
-
t.variant === "image-horizontal" ? (openBlock(), createBlock(VsImg, {
|
|
35789
|
+
t.variant === "image-horizontal" && t.imageSrc ? (openBlock(), createBlock(VsImg, {
|
|
35838
35790
|
key: 0,
|
|
35839
35791
|
src: t.imageSrc
|
|
35840
35792
|
}, null, 8, ["src"])) : createCommentVNode("", !0),
|
|
@@ -35862,7 +35814,7 @@ const SpotlightSection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _s
|
|
|
35862
35814
|
})
|
|
35863
35815
|
]));
|
|
35864
35816
|
}
|
|
35865
|
-
}, _sfc_main$g = {
|
|
35817
|
+
}), _sfc_main$g = {
|
|
35866
35818
|
name: "VsSummaryBoxList",
|
|
35867
35819
|
status: "deprecated",
|
|
35868
35820
|
release: "0.0.1"
|
package/package.json
CHANGED