@biggive/components 202303201542.0.0 → 202303301223.0.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.
Files changed (163) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-5406c558.entry.js → p-044de4a5.entry.js} +1 -1
  3. package/dist/biggive/p-0f955c67.entry.js +1 -0
  4. package/dist/biggive/{p-4402efe9.entry.js → p-12035aa2.entry.js} +1 -1
  5. package/dist/biggive/{p-42649676.entry.js → p-14a9d9a4.entry.js} +1 -1
  6. package/dist/biggive/{p-63abb338.entry.js → p-1e8f981c.entry.js} +1 -1
  7. package/dist/biggive/{p-b73fddaa.entry.js → p-241aed7a.entry.js} +1 -1
  8. package/dist/biggive/{p-f6dedf7d.entry.js → p-2fa6188d.entry.js} +1 -1
  9. package/dist/biggive/p-47d3c810.entry.js +1 -0
  10. package/dist/biggive/{p-87487165.entry.js → p-518fd1c9.entry.js} +1 -1
  11. package/dist/biggive/{p-2c639bd5.entry.js → p-58521290.entry.js} +1 -1
  12. package/dist/biggive/{p-ff8bc382.js → p-740166e9.js} +2 -2
  13. package/dist/biggive/{p-41588003.entry.js → p-76413b3e.entry.js} +1 -1
  14. package/dist/biggive/{p-26c0b6cf.entry.js → p-7be9d211.entry.js} +1 -1
  15. package/dist/biggive/{p-01d03da2.entry.js → p-d8ec56e6.entry.js} +1 -1
  16. package/dist/biggive/{p-f375edb7.entry.js → p-f224b742.entry.js} +1 -1
  17. package/dist/biggive/{p-ead5a5ce.entry.js → p-fe1f033c.entry.js} +1 -1
  18. package/dist/cjs/{biggive-accordion_35.cjs.entry.js → biggive-accordion_43.cjs.entry.js} +469 -50
  19. package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -2
  20. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +2 -2
  21. package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
  22. package/dist/cjs/biggive-category-icon.cjs.entry.js +2 -2
  23. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  24. package/dist/cjs/biggive-header.cjs.entry.js +1 -1
  25. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  26. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  27. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  28. package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
  29. package/dist/cjs/biggive-search.cjs.entry.js +1 -1
  30. package/dist/cjs/biggive-table.cjs.entry.js +2 -2
  31. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  32. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  33. package/dist/cjs/biggive.cjs.js +2 -2
  34. package/dist/cjs/{index-8dd1da4d.js → index-8dcaaf94.js} +3 -0
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +5 -0
  37. package/dist/collection/components/biggive-accordion/biggive-accordion.css +2 -2
  38. package/dist/collection/components/biggive-accordion/biggive-accordion.stories.js +3 -3
  39. package/dist/collection/components/biggive-article-card/biggive-article-card.css +36 -13
  40. package/dist/collection/components/biggive-article-card/biggive-article-card.js +258 -32
  41. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +1 -1
  42. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +1 -1
  43. package/dist/collection/components/biggive-biography-card/biggive-biography-card.css +592 -1
  44. package/dist/collection/components/biggive-biography-card/biggive-biography-card.js +218 -8
  45. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +1 -1
  46. package/dist/collection/components/biggive-button/biggive-button.css +110 -0
  47. package/dist/collection/components/biggive-carousel/biggive-carousel.css +18 -5
  48. package/dist/collection/components/biggive-carousel/biggive-carousel.js +18 -11
  49. package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +1 -1
  50. package/dist/collection/components/biggive-filtered-carousel/biggive-filtered-carousel.css +34 -0
  51. package/dist/collection/components/biggive-filtered-carousel/biggive-filtered-carousel.js +166 -0
  52. package/dist/collection/components/biggive-footer/biggive-footer.js +69 -5
  53. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.css +420 -0
  54. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.js +144 -0
  55. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.stories.js +53 -0
  56. package/dist/collection/components/biggive-grid/biggive-grid.css +166 -6
  57. package/dist/collection/components/biggive-grid/biggive-grid.js +28 -4
  58. package/dist/collection/components/biggive-icon-button/biggive-icon-button.css +418 -0
  59. package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +400 -0
  60. package/dist/collection/components/biggive-icon-button/biggive-icon-button.stories.js +116 -0
  61. package/dist/collection/components/biggive-image-button/biggive-image-button.css +369 -0
  62. package/dist/collection/components/biggive-image-button/biggive-image-button.js +401 -0
  63. package/dist/collection/components/biggive-image-button/biggive-image-button.stories.js +115 -0
  64. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +3 -14
  65. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +1 -1
  66. package/dist/collection/components/biggive-page-section/biggive-page-section.css +33 -1
  67. package/dist/collection/components/biggive-sheet/biggive-sheet.css +379 -0
  68. package/dist/collection/components/biggive-sheet/biggive-sheet.js +111 -0
  69. package/dist/collection/components/biggive-sheet/biggive-sheet.stories.js +34 -0
  70. package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +1 -1
  71. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +9 -5
  72. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +33 -3
  73. package/dist/collection/components/biggive-table/biggive-table.css +1 -1
  74. package/dist/collection/components/biggive-timeline/biggive-timeline.css +9 -11
  75. package/dist/collection/components/biggive-timeline/biggive-timeline.js +38 -5
  76. package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.css +1 -1
  77. package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.js +1 -1
  78. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +1 -1
  79. package/dist/collection/util/helper-methods.js +6 -0
  80. package/dist/components/biggive-accordion.js +1 -1
  81. package/dist/components/biggive-article-card.js +44 -9
  82. package/dist/components/biggive-basic-card.js +1 -1
  83. package/dist/components/biggive-beneficiary-icon.js +1 -1
  84. package/dist/components/biggive-biography-card.js +40 -3
  85. package/dist/components/biggive-boxed-content.js +1 -1
  86. package/dist/components/biggive-button2.js +1 -1
  87. package/dist/components/biggive-carousel.js +1 -83
  88. package/dist/components/biggive-carousel2.js +92 -0
  89. package/dist/components/biggive-category-icon.js +1 -1
  90. package/dist/components/biggive-filtered-carousel.d.ts +11 -0
  91. package/dist/components/biggive-filtered-carousel.js +99 -0
  92. package/dist/components/biggive-footer.js +29 -8
  93. package/dist/components/biggive-generic-icon.d.ts +11 -0
  94. package/dist/components/biggive-generic-icon.js +6 -0
  95. package/dist/components/biggive-generic-icon2.js +59 -0
  96. package/dist/components/biggive-grid.js +5 -3
  97. package/dist/components/biggive-icon-button.d.ts +11 -0
  98. package/dist/components/biggive-icon-button.js +89 -0
  99. package/dist/components/biggive-image-button.d.ts +11 -0
  100. package/dist/components/biggive-image-button.js +83 -0
  101. package/dist/components/biggive-main-menu.js +3 -14
  102. package/dist/components/biggive-misc-icon2.js +1 -1
  103. package/dist/components/biggive-page-section.js +1 -1
  104. package/dist/components/biggive-sheet.d.ts +11 -0
  105. package/dist/components/biggive-sheet.js +60 -0
  106. package/dist/components/biggive-social-icon2.js +1 -1
  107. package/dist/components/biggive-tabbed-content.js +34 -4
  108. package/dist/components/biggive-table.js +1 -1
  109. package/dist/components/biggive-timeline.js +39 -6
  110. package/dist/components/biggive-tipping-slider.js +2 -2
  111. package/dist/components/biggive-totalizer.js +1 -1
  112. package/dist/components/helper-methods.js +8 -0
  113. package/dist/components/index.d.ts +5 -0
  114. package/dist/components/index.js +5 -0
  115. package/dist/esm/{biggive-accordion_35.entry.js → biggive-accordion_43.entry.js} +462 -51
  116. package/dist/esm/biggive-basic-card.entry.js +2 -2
  117. package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
  118. package/dist/esm/biggive-boxed-content.entry.js +2 -2
  119. package/dist/esm/biggive-category-icon.entry.js +2 -2
  120. package/dist/esm/biggive-form.entry.js +1 -1
  121. package/dist/esm/biggive-header.entry.js +1 -1
  122. package/dist/esm/biggive-icon-group.entry.js +1 -1
  123. package/dist/esm/biggive-nav-group.entry.js +1 -1
  124. package/dist/esm/biggive-nav-item.entry.js +1 -1
  125. package/dist/esm/biggive-popup-standalone.entry.js +1 -1
  126. package/dist/esm/biggive-search.entry.js +1 -1
  127. package/dist/esm/biggive-table.entry.js +2 -2
  128. package/dist/esm/biggive-text-input.entry.js +1 -1
  129. package/dist/esm/biggive-video.entry.js +1 -1
  130. package/dist/esm/biggive.js +2 -2
  131. package/dist/esm/{index-801eebfb.js → index-341903f8.js} +3 -0
  132. package/dist/esm/loader.js +2 -2
  133. package/dist/types/components/biggive-article-card/biggive-article-card.d.ts +17 -42
  134. package/dist/types/components/biggive-biography-card/biggive-biography-card.d.ts +12 -13
  135. package/dist/types/components/biggive-carousel/biggive-carousel.d.ts +2 -1
  136. package/dist/types/components/biggive-filtered-carousel/biggive-filtered-carousel.d.ts +12 -0
  137. package/dist/types/components/biggive-footer/biggive-footer.d.ts +11 -0
  138. package/dist/types/components/biggive-generic-icon/biggive-generic-icon.d.ts +10 -0
  139. package/dist/types/components/biggive-generic-icon/biggive-generic-icon.stories.d.ts +38 -0
  140. package/dist/types/components/biggive-grid/biggive-grid.d.ts +3 -7
  141. package/dist/types/components/biggive-icon-button/biggive-icon-button.d.ts +28 -0
  142. package/dist/types/components/biggive-icon-button/biggive-icon-button.stories.d.ts +81 -0
  143. package/dist/types/components/biggive-image-button/biggive-image-button.d.ts +28 -0
  144. package/dist/types/components/biggive-image-button/biggive-image-button.stories.d.ts +78 -0
  145. package/dist/types/components/biggive-sheet/biggive-sheet.d.ts +15 -0
  146. package/dist/types/components/biggive-sheet/biggive-sheet.stories.d.ts +21 -0
  147. package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.d.ts +3 -0
  148. package/dist/types/components/biggive-timeline/biggive-timeline.d.ts +3 -0
  149. package/dist/types/components.d.ts +247 -126
  150. package/dist/types/util/helper-methods.d.ts +1 -0
  151. package/hydrate/index.js +545 -70
  152. package/package.json +1 -1
  153. package/dist/biggive/p-28e16ef9.entry.js +0 -1
  154. package/dist/biggive/p-4a1ba0c4.entry.js +0 -1
  155. package/dist/biggive/p-4adb4dce.entry.js +0 -1
  156. package/dist/biggive/p-87edb8c6.entry.js +0 -1
  157. package/dist/biggive/p-8feb91ae.entry.js +0 -1
  158. package/dist/cjs/biggive-article-card.cjs.entry.js +0 -31
  159. package/dist/cjs/biggive-biography-card.cjs.entry.js +0 -23
  160. package/dist/cjs/biggive-formatted-text.cjs.entry.js +0 -22
  161. package/dist/esm/biggive-article-card.entry.js +0 -27
  162. package/dist/esm/biggive-biography-card.entry.js +0 -19
  163. package/dist/esm/biggive-formatted-text.entry.js +0 -18
@@ -1,6 +1,17 @@
1
1
  export declare class BiggiveFooter {
2
2
  host: HTMLBiggiveFooterElement;
3
3
  headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
4
+ /**
5
+ * URL prefixes vary by environment, and components library is not best placed to know what they are, so we
6
+ * take them as props
7
+ */
8
+ blogUrlPrefix: string | undefined;
9
+ experienceUrlPrefix: string | undefined;
10
+ /**
11
+ * Conditionally render footer menu:
12
+ * hard-coded (preset) when set to true, dynamic (slot-based) when set to false
13
+ */
14
+ usePresetFooter: boolean;
4
15
  appendMenu(menuName: string): void;
5
16
  componentDidRender(): void;
6
17
  render(): any;
@@ -0,0 +1,10 @@
1
+ import { brandColour } from '../../globals/brand-colour';
2
+ export declare class BiggiveGenericIcon {
3
+ backgroundColour: brandColour;
4
+ iconColour: brandColour;
5
+ iconGroup: 'beneficiary' | 'misc' | 'social' | 'category';
6
+ icon: string;
7
+ url: string;
8
+ private getIcon;
9
+ render(): any;
10
+ }
@@ -0,0 +1,38 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ backgroundColour: {
5
+ name: string;
6
+ control: {
7
+ type: string;
8
+ options: string[];
9
+ };
10
+ };
11
+ iconColour: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ };
18
+ iconGroup: {
19
+ name: string;
20
+ control: {
21
+ type: string;
22
+ options: string[];
23
+ };
24
+ };
25
+ icon: {
26
+ name: string;
27
+ control: {
28
+ type: string;
29
+ options: string[];
30
+ };
31
+ };
32
+ url: {
33
+ name: string;
34
+ };
35
+ };
36
+ };
37
+ export default _default;
38
+ export declare const GenericIconComponent: any;
@@ -1,15 +1,11 @@
1
+ import { spacingOption } from '../../globals/spacing-option';
1
2
  export declare class BiggiveGrid {
2
- /**
3
- * Space below component
4
- */
5
3
  spaceBelow: number;
6
- /**
7
- * Number of columns in grid
8
- */
9
4
  columnCount: number;
10
5
  /**
11
- * Should have `justify-content: space-between`?
6
+ * Deprecated - should use columGap Instead
12
7
  */
13
8
  spaceBetween: boolean;
9
+ columnGap: spacingOption;
14
10
  render(): any;
15
11
  }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { brandColour } from '../../globals/brand-colour';
3
+ import { spacingOption } from '../../globals/spacing-option';
4
+ export declare class BiggiveIconButton {
5
+ doButtonClick: EventEmitter<{
6
+ event: object;
7
+ url: string;
8
+ }>;
9
+ spaceBelow: spacingOption;
10
+ backgroundColour: brandColour;
11
+ backgroundPadding: spacingOption;
12
+ text: string;
13
+ textColour: brandColour;
14
+ iconGroup: 'beneficiary' | 'misc' | 'social' | 'category';
15
+ icon: string;
16
+ url: string;
17
+ openInNewTab: boolean;
18
+ size: 'small' | 'medium' | 'large' | 'x-large' | 'xx-large';
19
+ arrow: boolean;
20
+ arrowColour: brandColour;
21
+ circle: boolean;
22
+ shadow: boolean;
23
+ centered: boolean;
24
+ rounded: boolean;
25
+ buttonId: undefined | string;
26
+ private handleButtonClick;
27
+ render(): any;
28
+ }
@@ -0,0 +1,81 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ spaceBelow: {
5
+ name: string;
6
+ control: {
7
+ type: string;
8
+ options: number[];
9
+ };
10
+ };
11
+ backgroundColour: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ };
18
+ backgroundPadding: {
19
+ name: string;
20
+ control: {
21
+ type: string;
22
+ options: number[];
23
+ };
24
+ };
25
+ icon: {
26
+ name: string;
27
+ };
28
+ text: {
29
+ name: string;
30
+ };
31
+ textColour: {
32
+ name: string;
33
+ control: {
34
+ type: string;
35
+ options: string[];
36
+ };
37
+ };
38
+ url: {
39
+ name: string;
40
+ };
41
+ openInNewTab: {
42
+ name: string;
43
+ };
44
+ size: {
45
+ name: string;
46
+ control: {
47
+ type: string;
48
+ options: string[];
49
+ };
50
+ };
51
+ arrow: {
52
+ name: string;
53
+ options: boolean[];
54
+ };
55
+ arrowColour: {
56
+ name: string;
57
+ control: {
58
+ type: string;
59
+ options: string[];
60
+ };
61
+ };
62
+ circle: {
63
+ name: string;
64
+ options: boolean[];
65
+ };
66
+ shadow: {
67
+ name: string;
68
+ options: boolean[];
69
+ };
70
+ centered: {
71
+ name: string;
72
+ options: boolean[];
73
+ };
74
+ rounded: {
75
+ name: string;
76
+ options: boolean[];
77
+ };
78
+ };
79
+ };
80
+ export default _default;
81
+ export declare const IconButtonComponent: any;
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { brandColour } from '../../globals/brand-colour';
3
+ import { spacingOption } from '../../globals/spacing-option';
4
+ export declare class BiggiveImageButton {
5
+ doButtonClick: EventEmitter<{
6
+ event: object;
7
+ url: string;
8
+ }>;
9
+ spaceBelow: spacingOption;
10
+ backgroundColour: brandColour;
11
+ backgroundPadding: spacingOption;
12
+ text: string;
13
+ textColour: brandColour;
14
+ imageUrl: string;
15
+ imageStyle: string;
16
+ url: string;
17
+ openInNewTab: boolean;
18
+ size: 'small' | 'medium' | 'large' | 'x-large' | 'xx-large';
19
+ arrow: boolean;
20
+ arrowColour: brandColour;
21
+ circle: boolean;
22
+ shadow: boolean;
23
+ centered: boolean;
24
+ rounded: boolean;
25
+ buttonId: undefined | string;
26
+ private handleButtonClick;
27
+ render(): any;
28
+ }
@@ -0,0 +1,78 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ spaceBelow: {
5
+ name: string;
6
+ control: {
7
+ type: string;
8
+ options: number[];
9
+ };
10
+ };
11
+ backgroundColour: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ };
18
+ imageUrl: {
19
+ name: string;
20
+ };
21
+ imageStyle: {
22
+ name: string;
23
+ options: string[];
24
+ };
25
+ text: {
26
+ name: string;
27
+ };
28
+ textColour: {
29
+ name: string;
30
+ control: {
31
+ type: string;
32
+ options: string[];
33
+ };
34
+ };
35
+ url: {
36
+ name: string;
37
+ };
38
+ openInNewTab: {
39
+ name: string;
40
+ };
41
+ size: {
42
+ name: string;
43
+ control: {
44
+ type: string;
45
+ options: string[];
46
+ };
47
+ };
48
+ arrow: {
49
+ name: string;
50
+ options: boolean[];
51
+ };
52
+ arrowColour: {
53
+ name: string;
54
+ control: {
55
+ type: string;
56
+ options: string[];
57
+ };
58
+ };
59
+ circle: {
60
+ name: string;
61
+ options: boolean[];
62
+ };
63
+ shadow: {
64
+ name: string;
65
+ options: boolean[];
66
+ };
67
+ centered: {
68
+ name: string;
69
+ options: boolean[];
70
+ };
71
+ rounded: {
72
+ name: string;
73
+ options: boolean[];
74
+ };
75
+ };
76
+ };
77
+ export default _default;
78
+ export declare const ImageButtonComponent: any;
@@ -0,0 +1,15 @@
1
+ import { brandColour } from '../../globals/brand-colour';
2
+ export declare class BiggiveSheet {
3
+ host: HTMLBiggiveSheetElement;
4
+ /**
5
+ * A string ID (no spaces) unique within the page context, used to trigger the opening of the sheet from an anchor hash.
6
+ */
7
+ sheetId: string;
8
+ backgroundColour: brandColour;
9
+ textColour: brandColour;
10
+ openSheet(hash: string): void;
11
+ componentWillLoad(): void;
12
+ componentDidRender(): void;
13
+ closeSheet(): void;
14
+ render(): any;
15
+ }
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ backgroundColour: {
5
+ name: string;
6
+ control: {
7
+ type: string;
8
+ options: string[];
9
+ };
10
+ };
11
+ textColour: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ };
18
+ };
19
+ };
20
+ export default _default;
21
+ export declare const SheetComponent: any;
@@ -10,11 +10,14 @@ export declare class BiggiveTabbedContent {
10
10
  buttonBackgroundColour: brandColour;
11
11
  buttonIconColour: brandColour;
12
12
  currentTab: number;
13
+ scrollContextTab: HTMLElement | null;
14
+ scrollOffset: number;
13
15
  children: Array<HTMLBiggiveTabElement>;
14
16
  componentWillLoad(): void;
15
17
  componentDidRender(): void;
16
18
  showTab(i: number): void;
17
19
  clickTabHandler(e: MouseEvent): void;
20
+ scrollTab(direction: 'NEXT' | 'PREV'): void;
18
21
  clickPrevHandler(): void;
19
22
  clickNextHandler(): void;
20
23
  render(): any;
@@ -15,12 +15,15 @@ export declare class BiggiveTimeline {
15
15
  entryTitleColour: brandColour;
16
16
  entryTextColour: brandColour;
17
17
  currentTab: number;
18
+ scrollContextTab: HTMLElement | null;
19
+ scrollOffset: number;
18
20
  tabHeadings: Array<string>;
19
21
  children: Array<HTMLBiggiveTimelineEntryElement>;
20
22
  componentWillLoad(): void;
21
23
  componentDidRender(): void;
22
24
  showTab(i: number): void;
23
25
  clickTabHandler(e: any): void;
26
+ scrollTab(direction: 'NEXT' | 'PREV'): void;
24
27
  clickPrevHandler(): void;
25
28
  clickNextHandler(): void;
26
29
  render(): any;