@visitscotland/component-library 5.83.0 → 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.
@@ -1,49 +1,24 @@
1
+ type __VLS_Props = {
2
+ /** Text listing any sources of information displayed in the lists. */
3
+ source?: string | null;
4
+ /** Determines the list style. */
5
+ variant?: 'icon' | 'image' | 'image-horizontal' | 'numbered';
6
+ };
7
+ declare var __VLS_19: {}, __VLS_27: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_19) => any;
10
+ } & {
11
+ 'list-source'?: (props: typeof __VLS_27) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ variant: "icon" | "image" | "image-horizontal" | "numbered";
15
+ source: string | null;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1
18
  declare const _default: typeof __VLS_export;
2
19
  export default _default;
3
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
- type __VLS_WithSlots<T, S> = T & (new () => {
5
- $slots: S;
6
- });
7
- declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
- /**
9
- * Text listing any sources for information displayed in the lists.
10
- */
11
- source: {
12
- type: StringConstructor;
13
- default: any;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
14
23
  };
15
- /**
16
- * Determines the list style.
17
- * @values icon, image, image-horizontal, numbered
18
- */
19
- variant: {
20
- type: StringConstructor;
21
- default: string;
22
- validator: (value: unknown) => boolean;
23
- };
24
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
- /**
26
- * Text listing any sources for information displayed in the lists.
27
- */
28
- source: {
29
- type: StringConstructor;
30
- default: any;
31
- };
32
- /**
33
- * Determines the list style.
34
- * @values icon, image, image-horizontal, numbered
35
- */
36
- variant: {
37
- type: StringConstructor;
38
- default: string;
39
- validator: (value: unknown) => boolean;
40
- };
41
- }>> & Readonly<{}>, {
42
- variant: string;
43
- source: string;
44
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
- type __VLS_Slots = {
46
- default?: (props: {}) => any;
47
- } & {
48
- 'list-source'?: (props: {}) => any;
49
24
  };
@@ -1,97 +1,32 @@
1
+ type __VLS_Props = {
2
+ /** ID of the anchor link if needed. */
3
+ anchorLink?: string;
4
+ /** Heaidng of the list item. */
5
+ heading: string;
6
+ /**
7
+ * The correct heaing level for the page heirarchy, the
8
+ * heading will be styled the same regardless of the level provided. */
9
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
10
+ /** Image source of the list item. */
11
+ imageSrc?: string | null;
12
+ /** Determine column layout and image position. */
13
+ variant?: 'icon' | 'image' | 'image-horizontal' | 'numbered';
14
+ };
15
+ declare var __VLS_41: {};
16
+ type __VLS_Slots = {} & {
17
+ default?: (props: typeof __VLS_41) => any;
18
+ };
19
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ variant: "icon" | "image" | "image-horizontal" | "numbered";
21
+ headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
22
+ anchorLink: string;
23
+ imageSrc: string | null;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1
26
  declare const _default: typeof __VLS_export;
2
27
  export default _default;
3
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
- type __VLS_WithSlots<T, S> = T & (new () => {
5
- $slots: S;
6
- });
7
- declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
- /**
9
- * Heading of the list item.
10
- */
11
- heading: {
12
- type: StringConstructor;
13
- required: true;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
14
31
  };
15
- /**
16
- * The correct heading level for page hierarchy, the
17
- * heading will be styled the same regardless of level provided
18
- * `1|2|3|4|5|6`
19
- */
20
- headingLevel: {
21
- type: NumberConstructor;
22
- default: number;
23
- validator: (value: unknown) => any;
24
- };
25
- /**
26
- * Image source of the list item.
27
- */
28
- imageSrc: {
29
- type: StringConstructor;
30
- default: any;
31
- };
32
- /**
33
- * Determines column layout and image position.
34
- * @values icon, image, image-horizontal, numbered
35
- */
36
- variant: {
37
- type: StringConstructor;
38
- default: string;
39
- validator: (value: unknown) => boolean;
40
- };
41
- /**
42
- * ID of the anchor link if needed
43
- */
44
- anchorLink: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
- /**
50
- * Heading of the list item.
51
- */
52
- heading: {
53
- type: StringConstructor;
54
- required: true;
55
- };
56
- /**
57
- * The correct heading level for page hierarchy, the
58
- * heading will be styled the same regardless of level provided
59
- * `1|2|3|4|5|6`
60
- */
61
- headingLevel: {
62
- type: NumberConstructor;
63
- default: number;
64
- validator: (value: unknown) => any;
65
- };
66
- /**
67
- * Image source of the list item.
68
- */
69
- imageSrc: {
70
- type: StringConstructor;
71
- default: any;
72
- };
73
- /**
74
- * Determines column layout and image position.
75
- * @values icon, image, image-horizontal, numbered
76
- */
77
- variant: {
78
- type: StringConstructor;
79
- default: string;
80
- validator: (value: unknown) => boolean;
81
- };
82
- /**
83
- * ID of the anchor link if needed
84
- */
85
- anchorLink: {
86
- type: StringConstructor;
87
- default: string;
88
- };
89
- }>> & Readonly<{}>, {
90
- variant: string;
91
- headingLevel: number;
92
- anchorLink: string;
93
- imageSrc: string;
94
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
95
- type __VLS_Slots = {
96
- default?: (props: {}) => any;
97
32
  };