@visitscotland/component-library 5.42.0 → 5.43.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/dist/client/manifest.json +53 -36
- package/dist/client/scripts/0d7fa512d97407fa9023.js +2 -0
- package/dist/client/scripts/0d7fa512d97407fa9023.js.LICENSE.txt +4 -0
- package/dist/client/scripts/1abe5367776b24253d47.js +1 -0
- package/dist/client/scripts/{785f5aedccd25328545f.js → 1f48217a141ad5a01f52.js} +1 -1
- package/dist/client/scripts/{d63d97bbaaf166541301.js → 34ee90429cad0416277c.js} +1 -1
- package/dist/client/scripts/3eaadb10be820a12313c.js +1 -0
- package/dist/client/scripts/5beb6c7b4eb5316bb9f6.js +1 -0
- package/dist/client/scripts/63fb13547a0c980edfc6.js +1 -0
- package/dist/client/scripts/{a35c162c99ace4b92eff.js → 6fa12c8f2df5887ad779.js} +1 -1
- package/dist/client/scripts/{6c01c3fecf56394f299c.js → 77297add1d2c76338bf6.js} +1 -1
- package/dist/client/scripts/{01b8e76e714348e01802.js → 7aac93e556d6d5c57b51.js} +1 -1
- package/dist/client/scripts/{6ec32a52d983bd17d964.js → b483076e7db9a383ec11.js} +1 -1
- package/dist/client/scripts/be86e685e7f8ad9d1bcd.js +2 -0
- package/dist/client/scripts/{e53c02752abb05f93abd.js.LICENSE.txt → be86e685e7f8ad9d1bcd.js.LICENSE.txt} +0 -5
- package/dist/client/scripts/{45ea777abdc94a4fe90a.js → d26ab5ea6f581003dd76.js} +1 -1
- package/dist/client/scripts/{509216b4e74f11f64f80.js → ff6101f274e52feca2d0.js} +1 -1
- package/dist/client/styles/1abe5367776b24253d47.css +1 -0
- package/dist/components/src/components/canned-search/CannedSearch.vue.d.ts +42 -2
- package/dist/components/src/components/canned-search/components/CannedSearchLogos.vue.d.ts +42 -2
- package/dist/components/src/components/dropdown/Dropdown.vue.d.ts +6 -6
- package/dist/components/src/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +6 -6
- package/dist/components/src/components/mega-nav/components/MegaNavDropdown.vue.d.ts +6 -6
- package/dist/components/src/components/mega-nav/components/MegaNavDropdownContainer.vue.d.ts +6 -6
- package/dist/components/src/components/navigation-bar/NavigationBar.vue.d.ts +961 -2
- package/dist/components/src/components/navigation-bar/components/NavigationBarMenuDropdown.vue.d.ts +6 -6
- package/dist/components/src/components/navigation-bar/components/NavigationBarSidebarButton.vue.d.ts +961 -2
- package/dist/components/src/components/social-share/SocialShare.vue.d.ts +6 -6
- package/dist/components/src/components/tooltip/Tooltip.vue.d.ts +72 -2
- package/dist/components/style.css +1 -1
- package/dist/components/vs-component-library.js +142 -142
- package/dist/components/vs-component-library.mjs +6553 -5426
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{28e3bc50aab5464f72f4.css → b5b07d64d8f252910913.css} +1 -1
- package/package.json +2 -1
- package/dist/client/scripts/1970d55f90fe220cf58b.js +0 -1
- package/dist/client/scripts/bb787f3765349db90879.js +0 -1
- package/dist/client/scripts/c5f1674416359d3591b6.js +0 -1
- package/dist/client/scripts/e53c02752abb05f93abd.js +0 -2
- package/dist/client/styles/1970d55f90fe220cf58b.css +0 -1
- /package/dist/client/styles/{d63d97bbaaf166541301.css → 34ee90429cad0416277c.css} +0 -0
- /package/dist/client/styles/{509216b4e74f11f64f80.css → ff6101f274e52feca2d0.css} +0 -0
|
@@ -1483,7 +1483,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1483
1483
|
middlewareData: any;
|
|
1484
1484
|
rects: import('@floating-ui/utils').ElementRects;
|
|
1485
1485
|
platform: any;
|
|
1486
|
-
elements: import('@floating-ui/
|
|
1486
|
+
elements: import('@floating-ui/vue').Elements;
|
|
1487
1487
|
}) => any | Promise<any>;
|
|
1488
1488
|
}[]>;
|
|
1489
1489
|
default: undefined;
|
|
@@ -1600,7 +1600,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1600
1600
|
middlewareData: any;
|
|
1601
1601
|
rects: import('@floating-ui/utils').ElementRects;
|
|
1602
1602
|
platform: any;
|
|
1603
|
-
elements: import('@floating-ui/
|
|
1603
|
+
elements: import('@floating-ui/vue').Elements;
|
|
1604
1604
|
}) => any | Promise<any>;
|
|
1605
1605
|
}[];
|
|
1606
1606
|
inline: boolean;
|
|
@@ -1703,7 +1703,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1703
1703
|
middlewareData: any;
|
|
1704
1704
|
rects: import('@floating-ui/utils').ElementRects;
|
|
1705
1705
|
platform: any;
|
|
1706
|
-
elements: import('@floating-ui/
|
|
1706
|
+
elements: import('@floating-ui/vue').Elements;
|
|
1707
1707
|
}) => any | Promise<any>;
|
|
1708
1708
|
}[]>;
|
|
1709
1709
|
default: undefined;
|
|
@@ -1813,7 +1813,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1813
1813
|
middlewareData: any;
|
|
1814
1814
|
rects: import('@floating-ui/utils').ElementRects;
|
|
1815
1815
|
platform: any;
|
|
1816
|
-
elements: import('@floating-ui/
|
|
1816
|
+
elements: import('@floating-ui/vue').Elements;
|
|
1817
1817
|
}) => any | Promise<any>;
|
|
1818
1818
|
}[];
|
|
1819
1819
|
inline: boolean;
|
|
@@ -1913,7 +1913,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1913
1913
|
middlewareData: any;
|
|
1914
1914
|
rects: import('@floating-ui/utils').ElementRects;
|
|
1915
1915
|
platform: any;
|
|
1916
|
-
elements: import('@floating-ui/
|
|
1916
|
+
elements: import('@floating-ui/vue').Elements;
|
|
1917
1917
|
}) => any | Promise<any>;
|
|
1918
1918
|
}[]>;
|
|
1919
1919
|
default: undefined;
|
|
@@ -2030,7 +2030,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2030
2030
|
middlewareData: any;
|
|
2031
2031
|
rects: import('@floating-ui/utils').ElementRects;
|
|
2032
2032
|
platform: any;
|
|
2033
|
-
elements: import('@floating-ui/
|
|
2033
|
+
elements: import('@floating-ui/vue').Elements;
|
|
2034
2034
|
}) => any | Promise<any>;
|
|
2035
2035
|
}[];
|
|
2036
2036
|
inline: boolean;
|
|
@@ -15,6 +15,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
15
|
default: string;
|
|
16
16
|
validator: (value: unknown) => any;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* Offsets the tooltip
|
|
20
|
+
*/
|
|
21
|
+
offset: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
18
25
|
/**
|
|
19
26
|
* Sets the subtle style variant
|
|
20
27
|
*/
|
|
@@ -22,12 +29,59 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
29
|
type: BooleanConstructor;
|
|
23
30
|
default: boolean;
|
|
24
31
|
};
|
|
25
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Whether to display old tooltip or new one
|
|
34
|
+
*/
|
|
35
|
+
useLegacy: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>, {}, {
|
|
40
|
+
visible: boolean;
|
|
41
|
+
hideTimeout: any;
|
|
42
|
+
tooltipId: string;
|
|
43
|
+
floatingStyles: {};
|
|
44
|
+
arrowStyles: {};
|
|
45
|
+
cleanup: any;
|
|
46
|
+
}, {
|
|
47
|
+
tooltipClasses(): (string | {
|
|
48
|
+
'vs-tooltip-popover--subtle': boolean;
|
|
49
|
+
})[];
|
|
26
50
|
tooltipConfig(): {
|
|
27
51
|
placement: string;
|
|
28
52
|
customClass: string;
|
|
29
53
|
};
|
|
30
|
-
}, {
|
|
54
|
+
}, {
|
|
55
|
+
/**
|
|
56
|
+
* Displays the tooltip when the trigger element is hovered or focused.
|
|
57
|
+
* Only runs for the Floating UI implementation (not legacy Bootstrap).
|
|
58
|
+
*/
|
|
59
|
+
show(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Hides the tooltip and cleans up any active
|
|
62
|
+
* autoUpdate Floating UI listeners.
|
|
63
|
+
*/
|
|
64
|
+
hide(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Calculates and updates the tooltip position using Floating UI
|
|
67
|
+
* to ensure it remains in the viewport.
|
|
68
|
+
*/
|
|
69
|
+
updatePosition(): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Apply the computed x/y coordinates to the tooltip.
|
|
72
|
+
*/
|
|
73
|
+
applyTooltipPosition({ x, y }: {
|
|
74
|
+
x: any;
|
|
75
|
+
y: any;
|
|
76
|
+
}): void;
|
|
77
|
+
/**
|
|
78
|
+
* Position the tooltip arrow so it points at the trigger.
|
|
79
|
+
*/
|
|
80
|
+
applyArrowPosition({ placement, middlewareData }: {
|
|
81
|
+
placement: any;
|
|
82
|
+
middlewareData: any;
|
|
83
|
+
}): void;
|
|
84
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
85
|
/**
|
|
32
86
|
* The text to display in the tooltip
|
|
33
87
|
*/
|
|
@@ -44,6 +98,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
44
98
|
default: string;
|
|
45
99
|
validator: (value: unknown) => any;
|
|
46
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
* Offsets the tooltip
|
|
103
|
+
*/
|
|
104
|
+
offset: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
47
108
|
/**
|
|
48
109
|
* Sets the subtle style variant
|
|
49
110
|
*/
|
|
@@ -51,10 +112,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
51
112
|
type: BooleanConstructor;
|
|
52
113
|
default: boolean;
|
|
53
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* Whether to display old tooltip or new one
|
|
117
|
+
*/
|
|
118
|
+
useLegacy: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
54
122
|
}>> & Readonly<{}>, {
|
|
55
123
|
title: string;
|
|
56
124
|
subtle: boolean;
|
|
125
|
+
offset: number;
|
|
57
126
|
position: string;
|
|
127
|
+
useLegacy: boolean;
|
|
58
128
|
}, {}, {
|
|
59
129
|
VsButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
60
130
|
href: {
|