@biggive/components 1.0.95 → 1.0.97
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/biggive/assets/images/biggive-triangle-green.svg +21 -0
- package/dist/biggive/assets/images/cross.svg +11 -0
- package/dist/biggive/assets/images/menu.svg +11 -0
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/p-063c44ce.entry.js +1 -0
- package/dist/biggive/p-0892aade.entry.js +1 -0
- package/dist/biggive/{p-e39db89c.entry.js → p-38b36bc6.entry.js} +1 -1
- package/dist/biggive/p-41c6f1f3.entry.js +1 -0
- package/dist/biggive/p-60872399.entry.js +1 -0
- package/dist/biggive/p-6d144f96.js +2 -0
- package/dist/biggive/p-8742102b.entry.js +1 -0
- package/dist/biggive/p-88faca11.js +1 -0
- package/dist/biggive/p-9916d987.entry.js +1 -0
- package/dist/biggive/p-99f15121.entry.js +1 -0
- package/dist/biggive/p-9fa2a9b2.entry.js +1 -0
- package/dist/biggive/p-a13e0f3e.entry.js +1 -0
- package/dist/biggive/p-aa4e1a2a.js +1 -0
- package/dist/biggive/p-bfaf1239.entry.js +1 -0
- package/dist/biggive/p-c1570c9f.entry.js +1 -0
- package/dist/biggive/p-d1c2b64d.entry.js +1 -0
- package/dist/biggive/p-da0a4725.entry.js +1 -0
- package/dist/biggive/p-de0f70ee.entry.js +1 -0
- package/dist/biggive/p-e3b0c4ae.entry.js +1 -0
- package/dist/biggive/p-e546fe69.entry.js +1 -0
- package/dist/cjs/biggive-article-card.cjs.entry.js +2 -35
- package/dist/cjs/biggive-back-to-top_23.cjs.entry.js +625 -0
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -35
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +4 -19
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -17
- package/dist/cjs/biggive-branded-image.cjs.entry.js +2 -14
- package/dist/cjs/biggive-category-icon.cjs.entry.js +4 -19
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +2 -8
- package/dist/cjs/biggive-icon-group.cjs.entry.js +2 -8
- package/dist/cjs/biggive-image.cjs.entry.js +2 -20
- package/dist/cjs/biggive-quote.cjs.entry.js +2 -14
- package/dist/cjs/biggive-search.cjs.entry.js +7 -5
- package/dist/cjs/biggive-tab.cjs.entry.js +2 -5
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -8
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +2 -11
- package/dist/cjs/biggive.cjs.js +3 -3
- package/dist/cjs/{fontawesome-icons-110f532d.js → fontawesome-icons-f33263c4.js} +45 -55
- package/dist/cjs/index-1fa2bbc6.js +196 -0
- package/dist/cjs/{index-87518c3f.js → index-ecfc2713.js} +734 -495
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/images/biggive-triangle-green.svg +21 -0
- package/dist/collection/assets/images/cross.svg +11 -0
- package/dist/collection/assets/images/menu.svg +11 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/biggive-article-card/biggive-article-card.css +24 -0
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +214 -253
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.css +24 -0
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +12 -11
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +24 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +214 -251
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.stories.js +1 -1
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +24 -0
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.js +102 -116
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +24 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +102 -112
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.css +24 -0
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +85 -96
- package/dist/collection/components/biggive-button/biggive-button.css +24 -0
- package/dist/collection/components/biggive-button/biggive-button.js +137 -153
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +24 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +376 -440
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +26 -0
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +322 -385
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.css +61 -0
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +123 -124
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +6 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +24 -0
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +238 -292
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +24 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.js +102 -116
- package/dist/collection/components/biggive-footer/biggive-footer.css +58 -1
- package/dist/collection/components/biggive-footer/biggive-footer.js +15 -39
- package/dist/collection/components/biggive-footer/biggive-footer.stories.js +8 -1
- package/dist/collection/components/biggive-form/biggive-form.js +12 -9
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.css +557 -0
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +95 -9
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.stories.js +9 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.css +520 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.js +94 -0
- package/dist/collection/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.js +23 -0
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +12 -9
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +24 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +51 -52
- package/dist/collection/components/biggive-grid/biggive-grid.css +39 -0
- package/dist/collection/components/biggive-grid/biggive-grid.js +68 -72
- package/dist/collection/components/biggive-header/biggive-header.css +94 -2
- package/dist/collection/components/biggive-header/biggive-header.js +64 -69
- package/dist/collection/components/biggive-header/biggive-header.stories.js +2 -1
- package/dist/collection/components/biggive-heading/biggive-heading.css +24 -0
- package/dist/collection/components/biggive-heading/biggive-heading.js +136 -152
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +48 -11
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +240 -283
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.css +24 -0
- package/dist/collection/components/biggive-icon-group/biggive-icon-group.js +51 -54
- package/dist/collection/components/biggive-image/biggive-image.css +24 -0
- package/dist/collection/components/biggive-image/biggive-image.js +119 -133
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +43 -5
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +232 -270
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +24 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +85 -94
- package/dist/collection/components/biggive-page-column/biggive-page-column.css +506 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +11 -7
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.css +34 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +34 -36
- package/dist/collection/components/biggive-page-section/biggive-page-section.css +24 -0
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +85 -93
- package/dist/collection/components/biggive-popup/biggive-popup.css +547 -0
- package/dist/collection/components/biggive-popup/biggive-popup.js +47 -0
- package/dist/collection/components/biggive-popup/biggive-popup.stories.js +8 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +24 -0
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +68 -76
- package/dist/collection/components/biggive-quote/biggive-quote.css +24 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +85 -93
- package/dist/collection/components/biggive-search/biggive-search.css +24 -0
- package/dist/collection/components/biggive-search/biggive-search.js +74 -74
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +24 -0
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +85 -94
- package/dist/collection/components/biggive-tab/biggive-tab.css +24 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +34 -34
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +24 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +51 -52
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +33 -1
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +178 -208
- package/dist/collection/components/biggive-video/biggive-video.css +24 -0
- package/dist/collection/components/biggive-video/biggive-video.js +68 -72
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +43 -5
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +238 -278
- package/dist/components/biggive-article-card.js +1 -34
- package/dist/components/biggive-back-to-top.js +1 -1
- package/dist/components/biggive-basic-card.js +1 -34
- package/dist/components/biggive-beneficiary-icon.js +1 -16
- package/dist/components/biggive-boxed-content.js +1 -16
- package/dist/components/biggive-branded-image.js +1 -13
- package/dist/components/biggive-button2.js +2 -23
- package/dist/components/biggive-call-to-action.js +1 -61
- package/dist/components/biggive-campaign-card-filter-grid.js +55 -22
- package/dist/components/biggive-campaign-card.js +2 -49
- package/dist/components/biggive-campaign-highlights.js +1 -40
- package/dist/components/biggive-category-icon.js +1 -16
- package/dist/components/biggive-footer.js +4 -10
- package/dist/components/biggive-form-field-select-option.d.ts +11 -0
- package/dist/components/biggive-form-field-select-option.js +6 -0
- package/dist/components/biggive-form-field-select-option2.js +46 -0
- package/dist/components/biggive-form-field-select.js +1 -28
- package/dist/components/biggive-form-field-select2.js +44 -0
- package/dist/components/biggive-formatted-text.js +1 -7
- package/dist/components/biggive-grid.js +1 -10
- package/dist/components/biggive-header.js +13 -8
- package/dist/components/biggive-heading.js +1 -22
- package/dist/components/biggive-hero-image.js +1 -40
- package/dist/components/biggive-icon-group.js +1 -7
- package/dist/components/biggive-image-feature.js +1 -37
- package/dist/components/biggive-image.js +1 -19
- package/dist/components/biggive-misc-icon2.js +1 -13
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -4
- package/dist/components/biggive-page-section.js +1 -13
- package/dist/components/biggive-popup.d.ts +11 -0
- package/dist/components/biggive-popup.js +6 -0
- package/dist/components/biggive-popup2.js +41 -0
- package/dist/components/biggive-progress-bar2.js +1 -10
- package/dist/components/biggive-quote.js +1 -13
- package/dist/components/biggive-search.js +5 -3
- package/dist/components/biggive-social-icon.js +41 -1
- package/dist/components/biggive-tab.js +1 -4
- package/dist/components/biggive-tabbed-content.js +1 -7
- package/dist/components/biggive-totalizer.js +1 -28
- package/dist/components/biggive-video-feature.js +1 -40
- package/dist/components/biggive-video.js +1 -10
- package/dist/components/fontawesome-icons.js +11 -21
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +164 -0
- package/dist/esm/biggive-article-card.entry.js +2 -35
- package/dist/esm/biggive-back-to-top_23.entry.js +599 -0
- package/dist/esm/biggive-basic-card.entry.js +2 -35
- package/dist/esm/biggive-beneficiary-icon.entry.js +4 -19
- package/dist/esm/biggive-boxed-content.entry.js +2 -17
- package/dist/esm/biggive-branded-image.entry.js +2 -14
- package/dist/esm/biggive-category-icon.entry.js +4 -19
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +2 -8
- package/dist/esm/biggive-icon-group.entry.js +2 -8
- package/dist/esm/biggive-image.entry.js +2 -20
- package/dist/esm/biggive-quote.entry.js +2 -14
- package/dist/esm/biggive-search.entry.js +6 -4
- package/dist/esm/biggive-tab.entry.js +2 -5
- package/dist/esm/biggive-tabbed-content.entry.js +2 -8
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +2 -11
- package/dist/esm/biggive.js +3 -3
- package/dist/esm/{fontawesome-icons-562459be.js → fontawesome-icons-ff9155ca.js} +11 -21
- package/dist/esm/index-7cfe62c2.js +164 -0
- package/dist/esm/{index-4395d470.js → index-b3c47751.js} +734 -495
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +2 -6
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.d.ts +17 -0
- package/dist/types/components/biggive-form-field-select/biggive-form-field-select.stories.d.ts +5 -0
- package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.d.ts +20 -0
- package/dist/types/components/biggive-form-field-select-option/biggive-form-field-select-option.stories.d.ts +13 -0
- package/dist/types/components/biggive-header/biggive-header.d.ts +1 -0
- package/dist/types/components/biggive-popup/biggive-popup.d.ts +6 -0
- package/dist/types/components/biggive-popup/biggive-popup.stories.d.ts +5 -0
- package/dist/types/components.d.ts +73 -6
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1133 -1561
- package/loader/package.json +1 -0
- package/package.json +4 -2
- package/dist/biggive/p-07962fc5.entry.js +0 -1
- package/dist/biggive/p-1024263c.entry.js +0 -1
- package/dist/biggive/p-1805f9ab.js +0 -2
- package/dist/biggive/p-1b78efa0.entry.js +0 -1
- package/dist/biggive/p-5dbda89c.entry.js +0 -1
- package/dist/biggive/p-5f1b0106.entry.js +0 -1
- package/dist/biggive/p-6326f936.entry.js +0 -1
- package/dist/biggive/p-72a6f0a8.entry.js +0 -1
- package/dist/biggive/p-74b5d4c7.entry.js +0 -1
- package/dist/biggive/p-7eee1e58.entry.js +0 -1
- package/dist/biggive/p-871707f4.js +0 -6
- package/dist/biggive/p-8f605036.entry.js +0 -1
- package/dist/biggive/p-9125d753.entry.js +0 -1
- package/dist/biggive/p-bdb476eb.entry.js +0 -1
- package/dist/biggive/p-c9aaa5c3.entry.js +0 -1
- package/dist/biggive/p-df6daa79.entry.js +0 -1
- package/dist/biggive/p-ec9b42b3.js +0 -6
- package/dist/biggive/p-f9388477.entry.js +0 -1
- package/dist/biggive/p-f98681a5.entry.js +0 -1
- package/dist/biggive/p-faa6817c.entry.js +0 -1
- package/dist/cjs/biggive-back-to-top_20.cjs.entry.js +0 -923
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +0 -19
- package/dist/cjs/index.es-d3570170.js +0 -201
- package/dist/components/biggive-social-icon2.js +0 -55
- package/dist/components/index.es.js +0 -169
- package/dist/esm/biggive-back-to-top_20.entry.js +0 -900
- package/dist/esm/biggive-form-field-select.entry.js +0 -15
- package/dist/esm/index.es-5777380a.js +0 -169
|
@@ -1,63 +1,62 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveFormattedText {
|
|
3
3
|
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Space below component
|
|
6
|
-
*/
|
|
7
4
|
this.spaceBelow = 0;
|
|
8
|
-
/**
|
|
9
|
-
* Default text colour
|
|
10
|
-
*/
|
|
11
5
|
this.defaultTextColour = 'primary';
|
|
12
6
|
}
|
|
13
7
|
render() {
|
|
14
|
-
return (h("div", { class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow },
|
|
15
|
-
h("slot", null)));
|
|
8
|
+
return (h("div", { class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("slot", null)));
|
|
16
9
|
}
|
|
17
10
|
static get is() { return "biggive-formatted-text"; }
|
|
18
11
|
static get encapsulation() { return "shadow"; }
|
|
19
|
-
static get originalStyleUrls() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"original": "string",
|
|
49
|
-
"resolved": "string",
|
|
50
|
-
"references": {}
|
|
51
|
-
},
|
|
52
|
-
"required": false,
|
|
53
|
-
"optional": false,
|
|
54
|
-
"docs": {
|
|
55
|
-
"tags": [],
|
|
56
|
-
"text": "Default text colour"
|
|
12
|
+
static get originalStyleUrls() {
|
|
13
|
+
return {
|
|
14
|
+
"$": ["biggive-formatted-text.scss"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static get styleUrls() {
|
|
18
|
+
return {
|
|
19
|
+
"$": ["biggive-formatted-text.css"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
static get properties() {
|
|
23
|
+
return {
|
|
24
|
+
"spaceBelow": {
|
|
25
|
+
"type": "number",
|
|
26
|
+
"mutable": false,
|
|
27
|
+
"complexType": {
|
|
28
|
+
"original": "number",
|
|
29
|
+
"resolved": "number",
|
|
30
|
+
"references": {}
|
|
31
|
+
},
|
|
32
|
+
"required": false,
|
|
33
|
+
"optional": false,
|
|
34
|
+
"docs": {
|
|
35
|
+
"tags": [],
|
|
36
|
+
"text": "Space below component"
|
|
37
|
+
},
|
|
38
|
+
"attribute": "space-below",
|
|
39
|
+
"reflect": false,
|
|
40
|
+
"defaultValue": "0"
|
|
57
41
|
},
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
42
|
+
"defaultTextColour": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "string",
|
|
47
|
+
"resolved": "string",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": false,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": "Default text colour"
|
|
55
|
+
},
|
|
56
|
+
"attribute": "default-text-colour",
|
|
57
|
+
"reflect": false,
|
|
58
|
+
"defaultValue": "'primary'"
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
63
62
|
}
|
|
@@ -109,6 +109,10 @@ a:hover {
|
|
|
109
109
|
fill: #000000;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
.fill-red {
|
|
113
|
+
fill: red;
|
|
114
|
+
}
|
|
115
|
+
|
|
112
116
|
.background-colour-hover-primary:hover,
|
|
113
117
|
.background-colour-primary {
|
|
114
118
|
background-color: #2C089B;
|
|
@@ -214,6 +218,26 @@ a:hover {
|
|
|
214
218
|
background-color: #FFFFFF;
|
|
215
219
|
}
|
|
216
220
|
|
|
221
|
+
.button-white {
|
|
222
|
+
color: #2C089B;
|
|
223
|
+
background-color: #FFFFFF;
|
|
224
|
+
border-color: #FFFFFF;
|
|
225
|
+
}
|
|
226
|
+
.button-white:hover {
|
|
227
|
+
color: #FFFFFF;
|
|
228
|
+
background-color: #2C089B;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.button-black {
|
|
232
|
+
color: #FFFFFF;
|
|
233
|
+
background-color: #000000;
|
|
234
|
+
border-color: #000000;
|
|
235
|
+
}
|
|
236
|
+
.button-black:hover {
|
|
237
|
+
color: #000000;
|
|
238
|
+
background-color: #FFFFFF;
|
|
239
|
+
}
|
|
240
|
+
|
|
217
241
|
.button-clear-primary {
|
|
218
242
|
color: #2C089B;
|
|
219
243
|
background-color: transparent;
|
|
@@ -510,4 +534,19 @@ a:hover {
|
|
|
510
534
|
width: calc(50% - 15px);
|
|
511
535
|
display: flex;
|
|
512
536
|
flex-direction: column;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
@media screen and (max-width: 768px) {
|
|
540
|
+
.column-count-2 ::slotted(*),
|
|
541
|
+
.column-count-3 ::slotted(*),
|
|
542
|
+
.column-count-4 ::slotted(*) {
|
|
543
|
+
width: calc(50% - 15px);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
@media screen and (max-width: 576px) {
|
|
547
|
+
.column-count-2 ::slotted(*),
|
|
548
|
+
.column-count-3 ::slotted(*),
|
|
549
|
+
.column-count-4 ::slotted(*) {
|
|
550
|
+
width: 100%;
|
|
551
|
+
}
|
|
513
552
|
}
|
|
@@ -1,85 +1,81 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveGrid {
|
|
3
3
|
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Space below component
|
|
6
|
-
*/
|
|
7
4
|
this.spaceBelow = 4;
|
|
8
|
-
/**
|
|
9
|
-
* Number of columns in grid
|
|
10
|
-
*/
|
|
11
5
|
this.columnCount = 3;
|
|
12
|
-
/**
|
|
13
|
-
* Gap between columns, based on spacer CSS variable
|
|
14
|
-
*/
|
|
15
6
|
this.columnGap = 3;
|
|
16
7
|
}
|
|
17
8
|
render() {
|
|
18
|
-
return (h("div", { class: 'grid column-count-' + this.columnCount + ' column-gap-' + this.columnGap + ' space-below-' + this.spaceBelow },
|
|
19
|
-
h("slot", null)));
|
|
9
|
+
return (h("div", { class: 'grid column-count-' + this.columnCount + ' column-gap-' + this.columnGap + ' space-below-' + this.spaceBelow }, h("slot", null)));
|
|
20
10
|
}
|
|
21
11
|
static get is() { return "biggive-grid"; }
|
|
22
12
|
static get encapsulation() { return "shadow"; }
|
|
23
|
-
static get originalStyleUrls() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"original": "number",
|
|
53
|
-
"resolved": "number",
|
|
54
|
-
"references": {}
|
|
55
|
-
},
|
|
56
|
-
"required": false,
|
|
57
|
-
"optional": false,
|
|
58
|
-
"docs": {
|
|
59
|
-
"tags": [],
|
|
60
|
-
"text": "Number of columns in grid"
|
|
61
|
-
},
|
|
62
|
-
"attribute": "column-count",
|
|
63
|
-
"reflect": false,
|
|
64
|
-
"defaultValue": "3"
|
|
65
|
-
},
|
|
66
|
-
"columnGap": {
|
|
67
|
-
"type": "number",
|
|
68
|
-
"mutable": false,
|
|
69
|
-
"complexType": {
|
|
70
|
-
"original": "number",
|
|
71
|
-
"resolved": "number",
|
|
72
|
-
"references": {}
|
|
13
|
+
static get originalStyleUrls() {
|
|
14
|
+
return {
|
|
15
|
+
"$": ["biggive-grid.scss"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
static get styleUrls() {
|
|
19
|
+
return {
|
|
20
|
+
"$": ["biggive-grid.css"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static get properties() {
|
|
24
|
+
return {
|
|
25
|
+
"spaceBelow": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "number",
|
|
30
|
+
"resolved": "number",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": "Space below component"
|
|
38
|
+
},
|
|
39
|
+
"attribute": "space-below",
|
|
40
|
+
"reflect": false,
|
|
41
|
+
"defaultValue": "4"
|
|
73
42
|
},
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
43
|
+
"columnCount": {
|
|
44
|
+
"type": "number",
|
|
45
|
+
"mutable": false,
|
|
46
|
+
"complexType": {
|
|
47
|
+
"original": "number",
|
|
48
|
+
"resolved": "number",
|
|
49
|
+
"references": {}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": "Number of columns in grid"
|
|
56
|
+
},
|
|
57
|
+
"attribute": "column-count",
|
|
58
|
+
"reflect": false,
|
|
59
|
+
"defaultValue": "3"
|
|
79
60
|
},
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
61
|
+
"columnGap": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "number",
|
|
66
|
+
"resolved": "number",
|
|
67
|
+
"references": {}
|
|
68
|
+
},
|
|
69
|
+
"required": false,
|
|
70
|
+
"optional": false,
|
|
71
|
+
"docs": {
|
|
72
|
+
"tags": [],
|
|
73
|
+
"text": "Gap between columns, based on spacer CSS variable"
|
|
74
|
+
},
|
|
75
|
+
"attribute": "column-gap",
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"defaultValue": "3"
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
85
81
|
}
|
|
@@ -109,6 +109,10 @@ a:hover {
|
|
|
109
109
|
fill: #000000;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
.fill-red {
|
|
113
|
+
fill: red;
|
|
114
|
+
}
|
|
115
|
+
|
|
112
116
|
.background-colour-hover-primary:hover,
|
|
113
117
|
.background-colour-primary {
|
|
114
118
|
background-color: #2C089B;
|
|
@@ -214,6 +218,26 @@ a:hover {
|
|
|
214
218
|
background-color: #FFFFFF;
|
|
215
219
|
}
|
|
216
220
|
|
|
221
|
+
.button-white {
|
|
222
|
+
color: #2C089B;
|
|
223
|
+
background-color: #FFFFFF;
|
|
224
|
+
border-color: #FFFFFF;
|
|
225
|
+
}
|
|
226
|
+
.button-white:hover {
|
|
227
|
+
color: #FFFFFF;
|
|
228
|
+
background-color: #2C089B;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.button-black {
|
|
232
|
+
color: #FFFFFF;
|
|
233
|
+
background-color: #000000;
|
|
234
|
+
border-color: #000000;
|
|
235
|
+
}
|
|
236
|
+
.button-black:hover {
|
|
237
|
+
color: #000000;
|
|
238
|
+
background-color: #FFFFFF;
|
|
239
|
+
}
|
|
240
|
+
|
|
217
241
|
.button-clear-primary {
|
|
218
242
|
color: #2C089B;
|
|
219
243
|
background-color: transparent;
|
|
@@ -489,7 +513,7 @@ a:hover {
|
|
|
489
513
|
line-height: 24px;
|
|
490
514
|
filter: drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.25));
|
|
491
515
|
position: relative;
|
|
492
|
-
z-index:
|
|
516
|
+
z-index: 99;
|
|
493
517
|
}
|
|
494
518
|
|
|
495
519
|
.nav {
|
|
@@ -562,12 +586,80 @@ a:hover {
|
|
|
562
586
|
.row-bottom .logo-wrap {
|
|
563
587
|
width: 200px;
|
|
564
588
|
margin-right: auto;
|
|
589
|
+
position: relative;
|
|
590
|
+
z-index: 101;
|
|
565
591
|
}
|
|
566
|
-
.row-bottom .logo-wrap
|
|
592
|
+
.row-bottom .logo-wrap a {
|
|
593
|
+
display: block;
|
|
594
|
+
}
|
|
595
|
+
.row-bottom .logo-wrap a svg {
|
|
567
596
|
height: 100%;
|
|
568
597
|
width: auto;
|
|
569
598
|
}
|
|
599
|
+
.row-bottom .nav-toggle {
|
|
600
|
+
display: none;
|
|
601
|
+
}
|
|
570
602
|
.row-bottom .nav-primary {
|
|
571
603
|
font-weight: 700;
|
|
572
604
|
margin: 5px 0;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
@media screen and (max-width: 1050px) {
|
|
608
|
+
.row-top {
|
|
609
|
+
display: none;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.row-bottom {
|
|
613
|
+
padding: 15px 15px;
|
|
614
|
+
}
|
|
615
|
+
.row-bottom .logo-wrap {
|
|
616
|
+
height: 30px;
|
|
617
|
+
}
|
|
618
|
+
.row-bottom .nav-toggle {
|
|
619
|
+
display: block;
|
|
620
|
+
margin-left: auto;
|
|
621
|
+
width: 45px;
|
|
622
|
+
height: 30px;
|
|
623
|
+
position: relative;
|
|
624
|
+
z-index: 101;
|
|
625
|
+
background-image: url("assets/images/menu.svg");
|
|
626
|
+
background-size: contain;
|
|
627
|
+
background-repeat: no-repeat;
|
|
628
|
+
background-position: center center;
|
|
629
|
+
cursor: pointer;
|
|
630
|
+
}
|
|
631
|
+
.row-bottom .nav-toggle.active {
|
|
632
|
+
background-image: url("assets/images/cross.svg?1");
|
|
633
|
+
display: block;
|
|
634
|
+
background-color: #2C089B;
|
|
635
|
+
background-size: 50% 50%;
|
|
636
|
+
width: 30px;
|
|
637
|
+
height: 30px;
|
|
638
|
+
border-radius: 50%;
|
|
639
|
+
}
|
|
640
|
+
.row-bottom .nav-primary {
|
|
641
|
+
display: none;
|
|
642
|
+
position: fixed;
|
|
643
|
+
z-index: 99;
|
|
644
|
+
top: 0;
|
|
645
|
+
height: 100vh;
|
|
646
|
+
padding-top: 100px;
|
|
647
|
+
left: 0;
|
|
648
|
+
right: 0;
|
|
649
|
+
margin: 0;
|
|
650
|
+
background-color: #D7D7D7;
|
|
651
|
+
}
|
|
652
|
+
.row-bottom .nav-primary[data-visible=true] {
|
|
653
|
+
display: block;
|
|
654
|
+
}
|
|
655
|
+
.row-bottom .nav-primary ul li {
|
|
656
|
+
width: 100%;
|
|
657
|
+
box-sizing: border-box;
|
|
658
|
+
text-align: center;
|
|
659
|
+
padding-bottom: 10px;
|
|
660
|
+
margin-bottom: 10px;
|
|
661
|
+
border-bottom: 1px solid #E8E8E8;
|
|
662
|
+
padding-left: 30px;
|
|
663
|
+
padding-right: 30px;
|
|
664
|
+
}
|
|
573
665
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
2
|
export class BiggiveHeader {
|
|
3
3
|
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Space below component
|
|
6
|
-
*/
|
|
7
4
|
this.spaceBelow = 0;
|
|
8
|
-
/**
|
|
9
|
-
* Logo hyperlink URL
|
|
10
|
-
*/
|
|
11
5
|
this.logoUrl = '/';
|
|
12
6
|
}
|
|
7
|
+
toggleNav(event) {
|
|
8
|
+
var nav = this.host.shadowRoot.querySelector('.nav-primary');
|
|
9
|
+
if (nav.getAttribute('data-visible') == 'true') {
|
|
10
|
+
event.target.classList.remove('active');
|
|
11
|
+
nav.setAttribute('data-visible', 'false');
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
event.target.classList.add('active');
|
|
15
|
+
nav.setAttribute('data-visible', 'true');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
13
18
|
render() {
|
|
14
19
|
var node = null;
|
|
15
20
|
var navPrimary = null;
|
|
@@ -18,79 +23,69 @@ export class BiggiveHeader {
|
|
|
18
23
|
if (node != null) {
|
|
19
24
|
navPrimary = [];
|
|
20
25
|
node.querySelectorAll('li').forEach(el => {
|
|
21
|
-
navPrimary.push(h("li", null,
|
|
22
|
-
h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
|
|
26
|
+
navPrimary.push(h("li", null, h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
|
|
23
27
|
});
|
|
24
28
|
}
|
|
25
29
|
node = this.host.querySelector('[slot="nav-secondary"]');
|
|
26
30
|
if (node != null) {
|
|
27
31
|
navSecondary = [];
|
|
28
32
|
node.querySelectorAll('li').forEach(el => {
|
|
29
|
-
navSecondary.push(h("li", null,
|
|
30
|
-
h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
|
|
33
|
+
navSecondary.push(h("li", null, h("a", { href: el.firstElementChild.getAttribute('href') }, el.innerText)));
|
|
31
34
|
});
|
|
32
35
|
}
|
|
33
|
-
return (h("header", { class: 'header space-below' + this.spaceBelow },
|
|
34
|
-
h("div", { class: "row row-top" },
|
|
35
|
-
h("div", { class: "social-icon-wrap" },
|
|
36
|
-
h("slot", { name: "social-icons" })),
|
|
37
|
-
h("nav", { class: "nav nav-secondary" },
|
|
38
|
-
h("ul", null, navSecondary))),
|
|
39
|
-
h("div", { class: "row row-bottom" },
|
|
40
|
-
h("div", { class: "logo-wrap" },
|
|
41
|
-
h("a", { href: this.logoUrl },
|
|
42
|
-
h("svg", { width: "149", height: "30", viewBox: "0 0 149 30", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
43
|
-
h("path", { d: "M59.9362 6.08031C58.258 6.08031 56.8195 4.70363 56.8195 3.04015C56.8195 1.37667 58.258 0 59.9362 0C61.7342 0 63.1127 1.37667 63.1127 3.04015C63.1127 4.70363 61.7342 6.08031 59.9362 6.08031ZM57.4189 23.805H62.4534V7.74379H57.4189V23.805ZM76.5981 7.74379V8.71893C75.8189 7.97323 74.2606 7.34226 72.4626 7.34226C67.9674 7.34226 64.3114 10.5545 64.3114 15.2008C64.3114 19.9044 67.9674 23.0593 72.4626 23.0593C74.2606 23.0593 75.8189 22.543 76.5981 21.6826V22.6004C76.5981 24.6654 74.6801 25.6979 72.1629 25.6979C70.0052 25.6979 68.1472 25.239 66.4091 24.2639V29.0249C68.5068 29.7706 70.8443 30 72.4026 30C77.4371 30 81.6326 27.9924 81.6326 22.7151V7.68643H76.5981V7.74379ZM76.5981 17.2084C75.8788 18.1836 74.6801 18.6424 73.3616 18.6424C71.2639 18.6424 69.5257 17.4379 69.5257 15.2008C69.5257 13.021 71.2639 11.7591 73.3616 11.7591C74.6801 11.7591 75.8788 12.3327 76.5981 13.2505V17.2084ZM96.1368 24.2065C100.093 24.2065 102.55 23.5182 104.588 22.2562V9.98088H93.6196V14.6845H99.4332V18.8145C98.5942 19.044 97.6352 19.2161 96.2567 19.2161C91.342 19.2161 88.9446 16.0612 88.9446 12.3901C88.9446 8.71893 91.7016 5.56405 96.916 5.56405C99.0736 5.56405 101.171 6.13767 102.73 6.94073V1.72084C101.231 1.14723 99.3134 0.630979 96.6163 0.630979C89.0046 0.630979 83.6104 5.90822 83.6104 12.4474C83.5505 19.1013 88.4652 24.2065 96.1368 24.2065ZM109.442 6.08031C107.764 6.08031 106.326 4.70363 106.326 3.04015C106.326 1.37667 107.764 0 109.442 0C111.24 0 112.619 1.37667 112.619 3.04015C112.619 4.70363 111.18 6.08031 109.442 6.08031ZM106.925 23.805H111.96V7.74379H106.925V23.805ZM123.227 14.9713L118.972 7.74379H113.098L123.167 24.1491L133.237 7.74379H127.483L123.227 14.9713ZM137.372 16.9216H148.999C149.059 9.92352 144.804 7.39962 140.549 7.39962C136.053 7.39962 132.038 9.98088 131.978 15.7744C131.978 21.3958 136.113 24.1491 141.088 24.1491C143.246 24.1491 145.523 23.8623 147.501 22.8872V18.4704C144.984 19.847 143.366 19.9044 141.927 19.9044C139.769 19.847 137.552 19.2161 137.372 16.9216ZM140.608 11.1281C142.107 11.1281 143.425 11.8164 143.605 13.8241H137.372C137.732 11.8738 139.11 11.1281 140.608 11.1281ZM51.5453 11.3576C52.744 10.325 53.3433 9.00574 53.3433 7.34226C53.3433 4.24474 50.3466 1.03251 46.0313 1.03251H38V23.8623H48.4287C52.5042 23.8623 55.6209 20.8795 55.6209 17.0937C55.6209 14.7992 54.542 12.3327 51.5453 11.3576ZM43.2743 5.67878H45.6717C47.1101 5.67878 48.129 6.76865 48.129 7.97324C48.129 9.17782 47.1101 10.2103 45.6717 10.2103H43.2743V5.67878ZM47.9492 19.1587H43.2743V14.5698H47.9492C49.3876 14.5698 50.4665 15.6023 50.4665 16.8643C50.4665 18.1262 49.3876 19.1587 47.9492 19.1587Z", fill: "black" }),
|
|
44
|
-
h("path", { d: "M21.543 1.01514L35 23.9999H8.08594L21.543 1.01514Z", fill: "black" }),
|
|
45
|
-
h("path", { d: "M9.36142 16.9564L0 1H18.7228L9.36142 16.9564Z", fill: "#2AF135" })))),
|
|
46
|
-
h("nav", { class: "nav nav-primary" },
|
|
47
|
-
h("ul", null, navPrimary)))));
|
|
36
|
+
return (h("header", { class: 'header space-below' + this.spaceBelow }, h("div", { class: "row row-top" }, h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("nav", { class: "nav nav-secondary" }, h("ul", null, navSecondary))), h("div", { class: "row row-bottom" }, h("div", { class: "logo-wrap" }, h("a", { href: this.logoUrl }, h("svg", { width: "149", height: "30", viewBox: "0 0 149 30", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M59.9362 6.08031C58.258 6.08031 56.8195 4.70363 56.8195 3.04015C56.8195 1.37667 58.258 0 59.9362 0C61.7342 0 63.1127 1.37667 63.1127 3.04015C63.1127 4.70363 61.7342 6.08031 59.9362 6.08031ZM57.4189 23.805H62.4534V7.74379H57.4189V23.805ZM76.5981 7.74379V8.71893C75.8189 7.97323 74.2606 7.34226 72.4626 7.34226C67.9674 7.34226 64.3114 10.5545 64.3114 15.2008C64.3114 19.9044 67.9674 23.0593 72.4626 23.0593C74.2606 23.0593 75.8189 22.543 76.5981 21.6826V22.6004C76.5981 24.6654 74.6801 25.6979 72.1629 25.6979C70.0052 25.6979 68.1472 25.239 66.4091 24.2639V29.0249C68.5068 29.7706 70.8443 30 72.4026 30C77.4371 30 81.6326 27.9924 81.6326 22.7151V7.68643H76.5981V7.74379ZM76.5981 17.2084C75.8788 18.1836 74.6801 18.6424 73.3616 18.6424C71.2639 18.6424 69.5257 17.4379 69.5257 15.2008C69.5257 13.021 71.2639 11.7591 73.3616 11.7591C74.6801 11.7591 75.8788 12.3327 76.5981 13.2505V17.2084ZM96.1368 24.2065C100.093 24.2065 102.55 23.5182 104.588 22.2562V9.98088H93.6196V14.6845H99.4332V18.8145C98.5942 19.044 97.6352 19.2161 96.2567 19.2161C91.342 19.2161 88.9446 16.0612 88.9446 12.3901C88.9446 8.71893 91.7016 5.56405 96.916 5.56405C99.0736 5.56405 101.171 6.13767 102.73 6.94073V1.72084C101.231 1.14723 99.3134 0.630979 96.6163 0.630979C89.0046 0.630979 83.6104 5.90822 83.6104 12.4474C83.5505 19.1013 88.4652 24.2065 96.1368 24.2065ZM109.442 6.08031C107.764 6.08031 106.326 4.70363 106.326 3.04015C106.326 1.37667 107.764 0 109.442 0C111.24 0 112.619 1.37667 112.619 3.04015C112.619 4.70363 111.18 6.08031 109.442 6.08031ZM106.925 23.805H111.96V7.74379H106.925V23.805ZM123.227 14.9713L118.972 7.74379H113.098L123.167 24.1491L133.237 7.74379H127.483L123.227 14.9713ZM137.372 16.9216H148.999C149.059 9.92352 144.804 7.39962 140.549 7.39962C136.053 7.39962 132.038 9.98088 131.978 15.7744C131.978 21.3958 136.113 24.1491 141.088 24.1491C143.246 24.1491 145.523 23.8623 147.501 22.8872V18.4704C144.984 19.847 143.366 19.9044 141.927 19.9044C139.769 19.847 137.552 19.2161 137.372 16.9216ZM140.608 11.1281C142.107 11.1281 143.425 11.8164 143.605 13.8241H137.372C137.732 11.8738 139.11 11.1281 140.608 11.1281ZM51.5453 11.3576C52.744 10.325 53.3433 9.00574 53.3433 7.34226C53.3433 4.24474 50.3466 1.03251 46.0313 1.03251H38V23.8623H48.4287C52.5042 23.8623 55.6209 20.8795 55.6209 17.0937C55.6209 14.7992 54.542 12.3327 51.5453 11.3576ZM43.2743 5.67878H45.6717C47.1101 5.67878 48.129 6.76865 48.129 7.97324C48.129 9.17782 47.1101 10.2103 45.6717 10.2103H43.2743V5.67878ZM47.9492 19.1587H43.2743V14.5698H47.9492C49.3876 14.5698 50.4665 15.6023 50.4665 16.8643C50.4665 18.1262 49.3876 19.1587 47.9492 19.1587Z", fill: "black" }), h("path", { d: "M21.543 1.01514L35 23.9999H8.08594L21.543 1.01514Z", fill: "black" }), h("path", { d: "M9.36142 16.9564L0 1H18.7228L9.36142 16.9564Z", fill: "#2AF135" })))), h("div", { class: "nav-toggle", onClick: event => this.toggleNav(event) }), h("nav", { class: "nav nav-primary", "data-visible": "false" }, h("ul", null, navPrimary)))));
|
|
48
37
|
}
|
|
49
38
|
static get is() { return "biggive-header"; }
|
|
50
39
|
static get encapsulation() { return "shadow"; }
|
|
51
|
-
static get originalStyleUrls() {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"original": "string",
|
|
81
|
-
"resolved": "string",
|
|
82
|
-
"references": {}
|
|
83
|
-
},
|
|
84
|
-
"required": false,
|
|
85
|
-
"optional": false,
|
|
86
|
-
"docs": {
|
|
87
|
-
"tags": [],
|
|
88
|
-
"text": "Logo hyperlink URL"
|
|
40
|
+
static get originalStyleUrls() {
|
|
41
|
+
return {
|
|
42
|
+
"$": ["biggive-header.scss"]
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static get styleUrls() {
|
|
46
|
+
return {
|
|
47
|
+
"$": ["biggive-header.css"]
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static get properties() {
|
|
51
|
+
return {
|
|
52
|
+
"spaceBelow": {
|
|
53
|
+
"type": "number",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "number",
|
|
57
|
+
"resolved": "number",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "Space below component"
|
|
65
|
+
},
|
|
66
|
+
"attribute": "space-below",
|
|
67
|
+
"reflect": false,
|
|
68
|
+
"defaultValue": "0"
|
|
89
69
|
},
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
70
|
+
"logoUrl": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"mutable": false,
|
|
73
|
+
"complexType": {
|
|
74
|
+
"original": "string",
|
|
75
|
+
"resolved": "string",
|
|
76
|
+
"references": {}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": false,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": "Logo hyperlink URL"
|
|
83
|
+
},
|
|
84
|
+
"attribute": "logo-url",
|
|
85
|
+
"reflect": false,
|
|
86
|
+
"defaultValue": "'/'"
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
}
|
|
95
90
|
static get elementRef() { return "host"; }
|
|
96
91
|
}
|
|
@@ -12,7 +12,8 @@ const Template = args => `
|
|
|
12
12
|
<biggive-social-icon service="YouTube" url="https://www.youtube.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
|
|
13
13
|
<biggive-social-icon service="Instagram" url="https://www.instagram.com" background-colour="tertiary" icon-colour="black"></biggive-social-icon>
|
|
14
14
|
</div>
|
|
15
|
-
<
|
|
15
|
+
<div class="nav-toggle"></div>
|
|
16
|
+
<nav class="nav nav-primary">
|
|
16
17
|
<li><a href="#">Explore Campaigns</a></li>
|
|
17
18
|
<li><a href="#">For Charities</a></li>
|
|
18
19
|
<li><a href="#">For Funders</a></li>
|
|
@@ -109,6 +109,10 @@ a:hover {
|
|
|
109
109
|
fill: #000000;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
.fill-red {
|
|
113
|
+
fill: red;
|
|
114
|
+
}
|
|
115
|
+
|
|
112
116
|
.background-colour-hover-primary:hover,
|
|
113
117
|
.background-colour-primary {
|
|
114
118
|
background-color: #2C089B;
|
|
@@ -214,6 +218,26 @@ a:hover {
|
|
|
214
218
|
background-color: #FFFFFF;
|
|
215
219
|
}
|
|
216
220
|
|
|
221
|
+
.button-white {
|
|
222
|
+
color: #2C089B;
|
|
223
|
+
background-color: #FFFFFF;
|
|
224
|
+
border-color: #FFFFFF;
|
|
225
|
+
}
|
|
226
|
+
.button-white:hover {
|
|
227
|
+
color: #FFFFFF;
|
|
228
|
+
background-color: #2C089B;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.button-black {
|
|
232
|
+
color: #FFFFFF;
|
|
233
|
+
background-color: #000000;
|
|
234
|
+
border-color: #000000;
|
|
235
|
+
}
|
|
236
|
+
.button-black:hover {
|
|
237
|
+
color: #000000;
|
|
238
|
+
background-color: #FFFFFF;
|
|
239
|
+
}
|
|
240
|
+
|
|
217
241
|
.button-clear-primary {
|
|
218
242
|
color: #2C089B;
|
|
219
243
|
background-color: transparent;
|