@biggive/components 202307200905.0.0 → 202307271559.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.
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-0d3008a2.entry.js → p-4ac3c59d.entry.js} +1 -1
- package/dist/biggive/p-5ff6d84f.entry.js +1 -0
- package/dist/biggive/p-a70e0902.entry.js +1 -0
- package/dist/biggive/p-b878559d.entry.js +1 -0
- package/dist/biggive/{p-9946cc08.entry.js → p-c0f333bc.entry.js} +1 -1
- package/dist/biggive/{p-e5f630d1.entry.js → p-e0041d91.entry.js} +1 -1
- package/dist/biggive/{p-50d9a75b.entry.js → p-e1f37ddb.entry.js} +1 -1
- package/dist/cjs/biggive-accordion_42.cjs.entry.js +27 -28
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -3
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image-card.cjs.entry.js +57 -0
- package/dist/cjs/biggive-table.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/biggive-accordion/biggive-accordion.css +4 -4
- package/dist/collection/components/biggive-article-card/biggive-article-card.css +11 -12
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +5 -14
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +1 -20
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +4 -4
- package/dist/collection/components/biggive-biography-card/biggive-biography-card.css +9 -9
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +1 -1
- package/dist/collection/components/biggive-button/biggive-button.css +5 -5
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +1 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +1 -1
- package/dist/collection/components/biggive-carousel/biggive-carousel.css +1 -1
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +4 -4
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +1 -19
- package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.stories.js +25 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +1 -4
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
- package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.css +6 -6
- package/dist/collection/components/biggive-heading/biggive-heading.css +2 -2
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +2 -2
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.css +4 -4
- package/dist/collection/components/biggive-image-button/biggive-image-button.css +3 -3
- package/dist/collection/components/biggive-image-card/biggive-image-card.css +496 -0
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +481 -0
- package/dist/collection/components/biggive-image-card/biggive-image-card.stories.js +80 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +6 -6
- package/dist/collection/components/biggive-page-section/biggive-page-section.css +1 -1
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.css +2 -2
- package/dist/collection/components/biggive-sheet/biggive-sheet.css +4 -4
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +8 -8
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +54 -9
- package/dist/collection/components/biggive-table/biggive-table.css +12 -6
- package/dist/collection/components/biggive-timeline/biggive-timeline.css +13 -13
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +2 -2
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +1 -1
- package/dist/components/biggive-accordion.js +1 -1
- package/dist/components/biggive-article-card.js +1 -1
- package/dist/components/biggive-basic-card.js +2 -4
- package/dist/components/biggive-beneficiary-icon.js +1 -1
- package/dist/components/biggive-biography-card.js +1 -1
- package/dist/components/biggive-boxed-content.js +1 -1
- package/dist/components/biggive-button2.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-campaign-card.js +1 -1
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-carousel2.js +1 -1
- package/dist/components/biggive-category-icon.js +1 -1
- package/dist/components/biggive-formatted-text.js +2 -2
- package/dist/components/biggive-generic-icon2.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +1 -1
- package/dist/components/biggive-icon-button.js +1 -1
- package/dist/components/biggive-image-button.js +1 -1
- package/dist/components/biggive-image-card.d.ts +11 -0
- package/dist/components/biggive-image-card.js +100 -0
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-page-section.js +1 -1
- package/dist/components/biggive-progress-bar2.js +1 -1
- package/dist/components/biggive-quote.js +1 -1
- package/dist/components/biggive-sheet.js +1 -1
- package/dist/components/biggive-social-icon2.js +1 -1
- package/dist/components/biggive-tabbed-content.js +1 -1
- package/dist/components/biggive-table.js +1 -1
- package/dist/components/biggive-text-input.js +2 -4
- package/dist/components/biggive-timeline.js +1 -1
- package/dist/components/biggive-totalizer.js +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/biggive-accordion_42.entry.js +27 -28
- package/dist/esm/biggive-basic-card.entry.js +2 -3
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-image-card.entry.js +53 -0
- package/dist/esm/biggive-table.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +0 -1
- package/dist/types/components/biggive-form-field-text-input/biggive-text-input.d.ts +0 -4
- package/dist/types/components/biggive-form-field-text-input/biggive-text-input.stories.d.ts +5 -0
- package/dist/types/components/biggive-image-card/biggive-image-card.d.ts +27 -0
- package/dist/types/components/biggive-image-card/biggive-image-card.stories.d.ts +52 -0
- package/dist/types/components.d.ts +57 -10
- package/hydrate/index.js +116 -38
- package/package.json +1 -1
- package/dist/biggive/p-25a791f1.entry.js +0 -1
- package/dist/biggive/p-ceb0433f.entry.js +0 -1
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -142,7 +142,7 @@ a:hover {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.fill-grey-light {
|
|
145
|
-
fill: #
|
|
145
|
+
fill: #F6F6F6;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.fill-grey-medium {
|
|
@@ -275,7 +275,7 @@ a:hover {
|
|
|
275
275
|
|
|
276
276
|
.text-colour-hover-grey-light:hover,
|
|
277
277
|
.text-colour-grey-light {
|
|
278
|
-
color: #
|
|
278
|
+
color: #F6F6F6;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -300,7 +300,7 @@ a:hover {
|
|
|
300
300
|
text-align: center;
|
|
301
301
|
background-size: cover;
|
|
302
302
|
background-position: center center;
|
|
303
|
-
padding:
|
|
303
|
+
padding: 30px;
|
|
304
304
|
height: 100%;
|
|
305
305
|
white-space: pre-wrap;
|
|
306
306
|
}
|
|
@@ -309,7 +309,7 @@ a:hover {
|
|
|
309
309
|
text-decoration: none;
|
|
310
310
|
}
|
|
311
311
|
.container .sleeve {
|
|
312
|
-
padding:
|
|
312
|
+
padding: 30px;
|
|
313
313
|
height: 100%;
|
|
314
314
|
box-sizing: border-box;
|
|
315
315
|
transition: all 1s ease-in-out;
|
|
@@ -356,13 +356,4 @@ a:hover {
|
|
|
356
356
|
}
|
|
357
357
|
.container .button-wrap.align-right {
|
|
358
358
|
text-align: right;
|
|
359
|
-
}
|
|
360
|
-
.container .text-align-left {
|
|
361
|
-
text-align: left;
|
|
362
|
-
}
|
|
363
|
-
.container .text-align-center {
|
|
364
|
-
text-align: center;
|
|
365
|
-
}
|
|
366
|
-
.container .text-align-right {
|
|
367
|
-
text-align: right;
|
|
368
359
|
}
|
|
@@ -8,7 +8,6 @@ export class BiggiveBasicCard {
|
|
|
8
8
|
this.textColour = 'black';
|
|
9
9
|
this.mainImageUrl = undefined;
|
|
10
10
|
this.mainImageAltText = undefined;
|
|
11
|
-
this.textAlign = 'center';
|
|
12
11
|
this.mainTitle = undefined;
|
|
13
12
|
this.subtitle = undefined;
|
|
14
13
|
this.teaser = undefined;
|
|
@@ -35,7 +34,7 @@ export class BiggiveBasicCard {
|
|
|
35
34
|
' clip-top-right-corner-' +
|
|
36
35
|
this.clipTopRightCorner +
|
|
37
36
|
' add-animation-' +
|
|
38
|
-
this.addAnimation, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { href: this.buttonUrl }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour
|
|
37
|
+
this.addAnimation, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, h("a", { href: this.buttonUrl }, h("div", { class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, h("div", { class: "content-wrap" }, this.icon == true ? (h("div", { class: "icon" }, h("svg", { width: "53", height: "39", viewBox: "0 0 53 39", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z", class: "fill-black" }), h("path", { d: "M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z", class: 'fill-' + this.iconColour })))) : null, this.mainImageUrl != '' ? (h("div", { class: "main-image-container" }, h("div", { class: "image-wrap" }, h("img", { src: this.mainImageUrl, alt: this.mainImageAltText, title: this.mainImageAltText })))) : null, h(HeadingTag, { class: "title" }, this.mainTitle), h("div", { class: "subtitle" }, this.subtitle), h("div", { class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (h("div", { class: 'button-wrap align-' + this.buttonAlign }, h("biggive-button", { "colour-scheme": this.buttonColourScheme, label: this.buttonLabel }))) : null)))));
|
|
39
38
|
}
|
|
40
39
|
static get is() { return "biggive-basic-card"; }
|
|
41
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -195,24 +194,6 @@ export class BiggiveBasicCard {
|
|
|
195
194
|
"attribute": "main-image-alt-text",
|
|
196
195
|
"reflect": false
|
|
197
196
|
},
|
|
198
|
-
"textAlign": {
|
|
199
|
-
"type": "string",
|
|
200
|
-
"mutable": false,
|
|
201
|
-
"complexType": {
|
|
202
|
-
"original": "'left' | 'center' | 'right'",
|
|
203
|
-
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
204
|
-
"references": {}
|
|
205
|
-
},
|
|
206
|
-
"required": false,
|
|
207
|
-
"optional": false,
|
|
208
|
-
"docs": {
|
|
209
|
-
"tags": [],
|
|
210
|
-
"text": ""
|
|
211
|
-
},
|
|
212
|
-
"attribute": "text-align",
|
|
213
|
-
"reflect": false,
|
|
214
|
-
"defaultValue": "'center'"
|
|
215
|
-
},
|
|
216
197
|
"mainTitle": {
|
|
217
198
|
"type": "string",
|
|
218
199
|
"mutable": false,
|
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -142,7 +142,7 @@ a:hover {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.fill-grey-light {
|
|
145
|
-
fill: #
|
|
145
|
+
fill: #F6F6F6;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.fill-grey-medium {
|
|
@@ -261,10 +261,10 @@ a:hover {
|
|
|
261
261
|
fill: #D7D7D7;
|
|
262
262
|
}
|
|
263
263
|
.beneficiary-icon-item.colour-scheme-black {
|
|
264
|
-
background-color: #
|
|
264
|
+
background-color: #F6F6F6;
|
|
265
265
|
}
|
|
266
266
|
.beneficiary-icon-item.colour-scheme-black svg {
|
|
267
|
-
fill: #
|
|
267
|
+
fill: #F6F6F6;
|
|
268
268
|
}
|
|
269
269
|
.beneficiary-icon-item.colour-scheme-black {
|
|
270
270
|
background-color: #8A8A8A;
|
|
@@ -137,7 +137,7 @@ a:hover {
|
|
|
137
137
|
|
|
138
138
|
.background-colour-hover-grey-light:hover,
|
|
139
139
|
.background-colour-grey-light {
|
|
140
|
-
background-color: #
|
|
140
|
+
background-color: #F6F6F6;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -212,7 +212,7 @@ a:hover {
|
|
|
212
212
|
|
|
213
213
|
.text-colour-hover-grey-light:hover,
|
|
214
214
|
.text-colour-grey-light {
|
|
215
|
-
color: #
|
|
215
|
+
color: #F6F6F6;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -269,7 +269,7 @@ a:hover {
|
|
|
269
269
|
background-color: #D7D7D7;
|
|
270
270
|
}
|
|
271
271
|
.container.background-colour-grey-light .image-wrap {
|
|
272
|
-
background-color: #
|
|
272
|
+
background-color: #F6F6F6;
|
|
273
273
|
}
|
|
274
274
|
.container.background-colour-grey-medium .image-wrap {
|
|
275
275
|
background-color: #8A8A8A;
|
|
@@ -514,22 +514,22 @@ a:hover {
|
|
|
514
514
|
border: 60px solid #D7D7D7;
|
|
515
515
|
}
|
|
516
516
|
.container .sleeve.border-width-1.border-colour-grey-light {
|
|
517
|
-
border: 5px solid #
|
|
517
|
+
border: 5px solid #F6F6F6;
|
|
518
518
|
}
|
|
519
519
|
.container .sleeve.border-width-2.border-colour-grey-light {
|
|
520
|
-
border: 10px solid #
|
|
520
|
+
border: 10px solid #F6F6F6;
|
|
521
521
|
}
|
|
522
522
|
.container .sleeve.border-width-3.border-colour-grey-light {
|
|
523
|
-
border: 15px solid #
|
|
523
|
+
border: 15px solid #F6F6F6;
|
|
524
524
|
}
|
|
525
525
|
.container .sleeve.border-width-4.border-colour-grey-light {
|
|
526
|
-
border: 30px solid #
|
|
526
|
+
border: 30px solid #F6F6F6;
|
|
527
527
|
}
|
|
528
528
|
.container .sleeve.border-width-5.border-colour-grey-light {
|
|
529
|
-
border: 45px solid #
|
|
529
|
+
border: 45px solid #F6F6F6;
|
|
530
530
|
}
|
|
531
531
|
.container .sleeve.border-width-6.border-colour-grey-light {
|
|
532
|
-
border: 60px solid #
|
|
532
|
+
border: 60px solid #F6F6F6;
|
|
533
533
|
}
|
|
534
534
|
.container .sleeve.border-width-1.border-colour-grey-medium {
|
|
535
535
|
border: 5px solid #8A8A8A;
|
|
@@ -238,11 +238,11 @@ a:hover {
|
|
|
238
238
|
|
|
239
239
|
.button-grey-light {
|
|
240
240
|
color: #000000;
|
|
241
|
-
background-color: #
|
|
242
|
-
border-color: #
|
|
241
|
+
background-color: #F6F6F6;
|
|
242
|
+
border-color: #F6F6F6;
|
|
243
243
|
}
|
|
244
244
|
.button-grey-light:hover {
|
|
245
|
-
color: #
|
|
245
|
+
color: #F6F6F6;
|
|
246
246
|
background-color: #000000;
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -426,7 +426,7 @@ a:hover {
|
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.button-clear-grey-light {
|
|
429
|
-
color: #
|
|
429
|
+
color: #F6F6F6;
|
|
430
430
|
background-color: transparent;
|
|
431
431
|
text-decoration: underline;
|
|
432
432
|
border: 0;
|
|
@@ -434,7 +434,7 @@ a:hover {
|
|
|
434
434
|
padding-right: 0;
|
|
435
435
|
}
|
|
436
436
|
.button-clear-grey-light:hover {
|
|
437
|
-
color: #
|
|
437
|
+
color: #F6F6F6;
|
|
438
438
|
text-decoration: none;
|
|
439
439
|
background-color: transparent;
|
|
440
440
|
}
|
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -142,7 +142,7 @@ a:hover {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.fill-grey-light {
|
|
145
|
-
fill: #
|
|
145
|
+
fill: #F6F6F6;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.fill-grey-medium {
|
|
@@ -261,10 +261,10 @@ a:hover {
|
|
|
261
261
|
fill: #D7D7D7;
|
|
262
262
|
}
|
|
263
263
|
.category-icon-item.colour-scheme-black {
|
|
264
|
-
background-color: #
|
|
264
|
+
background-color: #F6F6F6;
|
|
265
265
|
}
|
|
266
266
|
.category-icon-item.colour-scheme-black svg {
|
|
267
|
-
fill: #
|
|
267
|
+
fill: #F6F6F6;
|
|
268
268
|
}
|
|
269
269
|
.category-icon-item.colour-scheme-black {
|
|
270
270
|
background-color: #8A8A8A;
|
|
@@ -11,11 +11,10 @@ export class BiggiveTextInput {
|
|
|
11
11
|
this.currency = undefined;
|
|
12
12
|
this.spaceBelow = 0;
|
|
13
13
|
this.selectStyle = 'bordered';
|
|
14
|
-
this.prompt = undefined;
|
|
15
14
|
}
|
|
16
15
|
render() {
|
|
17
16
|
const currencySymbol = this.currency === 'GBP' ? '£' : this.currency === 'USD' ? '$' : undefined;
|
|
18
|
-
return (h("div", { class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle }, h("div", { class: "sleeve" }, h("div", { class: "inner-sleave" }, currencySymbol && h("span", { class: "currency-symbol" }, currencySymbol), h("slot", { name: "input" }), h("div", { style: { clear: 'both' } }))), h("div", { class: "prompt" },
|
|
17
|
+
return (h("div", { class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle }, h("div", { class: "sleeve" }, h("div", { class: "inner-sleave" }, currencySymbol && h("span", { class: "currency-symbol" }, currencySymbol), h("slot", { name: "input" }), h("div", { style: { clear: 'both' } }))), h("div", { class: "prompt" }, h("slot", { name: "label" }))));
|
|
19
18
|
}
|
|
20
19
|
static get is() { return "biggive-text-input"; }
|
|
21
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -100,23 +99,6 @@ export class BiggiveTextInput {
|
|
|
100
99
|
"attribute": "select-style",
|
|
101
100
|
"reflect": false,
|
|
102
101
|
"defaultValue": "'bordered'"
|
|
103
|
-
},
|
|
104
|
-
"prompt": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"mutable": false,
|
|
107
|
-
"complexType": {
|
|
108
|
-
"original": "string",
|
|
109
|
-
"resolved": "string",
|
|
110
|
-
"references": {}
|
|
111
|
-
},
|
|
112
|
-
"required": true,
|
|
113
|
-
"optional": false,
|
|
114
|
-
"docs": {
|
|
115
|
-
"tags": [],
|
|
116
|
-
"text": "Displayed as 'eyebrow' label over the top border of the box."
|
|
117
|
-
},
|
|
118
|
-
"attribute": "prompt",
|
|
119
|
-
"reflect": false
|
|
120
102
|
}
|
|
121
103
|
};
|
|
122
104
|
}
|
package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.stories.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Components/Forms',
|
|
3
|
+
};
|
|
4
|
+
const Template = (args) => `
|
|
5
|
+
<p></p>
|
|
6
|
+
<biggive-text-input
|
|
7
|
+
currency="${args.currency}"
|
|
8
|
+
space-below="${args.spaceBelow}"
|
|
9
|
+
select-style="${args.selectStyle}"
|
|
10
|
+
>
|
|
11
|
+
${args.label}
|
|
12
|
+
${args.input}
|
|
13
|
+
</biggive-text-input>`;
|
|
14
|
+
export const TextInput = Template.bind({});
|
|
15
|
+
TextInput.args = {
|
|
16
|
+
currency: 'GBP',
|
|
17
|
+
spaceBelow: 0,
|
|
18
|
+
selectStyle: 'bordered',
|
|
19
|
+
input: `<input
|
|
20
|
+
id="enter-donation-amount"
|
|
21
|
+
slot="input"
|
|
22
|
+
value="60.00"
|
|
23
|
+
/>`,
|
|
24
|
+
label: `<label for="enter-donation-amount" slot="label">Enter your donation amount</label>`,
|
|
25
|
+
};
|
|
@@ -127,7 +127,7 @@ a:hover {
|
|
|
127
127
|
|
|
128
128
|
.text-colour-hover-grey-light:hover,
|
|
129
129
|
.text-colour-grey-light {
|
|
130
|
-
color: #
|
|
130
|
+
color: #F6F6F6;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -157,9 +157,6 @@ a:hover {
|
|
|
157
157
|
color: inherit;
|
|
158
158
|
text-decoration: underline;
|
|
159
159
|
}
|
|
160
|
-
.container a:hover {
|
|
161
|
-
text-decoration: none;
|
|
162
|
-
}
|
|
163
160
|
.container.max-width-10 .sleeve {
|
|
164
161
|
max-width: 10%;
|
|
165
162
|
margin-left: auto;
|
|
@@ -6,7 +6,7 @@ export class BiggiveFormattedText {
|
|
|
6
6
|
this.maxWidth = 100;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return
|
|
9
|
+
return h("div", { class: 'container max-width-' + this.maxWidth + ' text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow });
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "biggive-formatted-text"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -142,7 +142,7 @@ a:hover {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.fill-grey-light {
|
|
145
|
-
fill: #
|
|
145
|
+
fill: #F6F6F6;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.fill-grey-medium {
|
|
@@ -243,10 +243,10 @@ a:hover {
|
|
|
243
243
|
fill: #D7D7D7;
|
|
244
244
|
}
|
|
245
245
|
.generic-icon-item.colour-scheme-black {
|
|
246
|
-
background-color: #
|
|
246
|
+
background-color: #F6F6F6;
|
|
247
247
|
}
|
|
248
248
|
.generic-icon-item.colour-scheme-black svg {
|
|
249
|
-
fill: #
|
|
249
|
+
fill: #F6F6F6;
|
|
250
250
|
}
|
|
251
251
|
.generic-icon-item.colour-scheme-black {
|
|
252
252
|
background-color: #8A8A8A;
|
|
@@ -363,10 +363,10 @@ a:hover {
|
|
|
363
363
|
fill: #D7D7D7;
|
|
364
364
|
}
|
|
365
365
|
.generic-icon-item.colour-scheme-black {
|
|
366
|
-
background-color: #
|
|
366
|
+
background-color: #F6F6F6;
|
|
367
367
|
}
|
|
368
368
|
.generic-icon-item.colour-scheme-black svg {
|
|
369
|
-
fill: #
|
|
369
|
+
fill: #F6F6F6;
|
|
370
370
|
}
|
|
371
371
|
.generic-icon-item.colour-scheme-black {
|
|
372
372
|
background-color: #8A8A8A;
|
|
@@ -158,7 +158,7 @@ h5, .heading-5 {
|
|
|
158
158
|
color: #D7D7D7;
|
|
159
159
|
}
|
|
160
160
|
.container .heading-colour-grey-light {
|
|
161
|
-
color: #
|
|
161
|
+
color: #F6F6F6;
|
|
162
162
|
}
|
|
163
163
|
.container .heading-colour-grey-medium {
|
|
164
164
|
color: #8A8A8A;
|
|
@@ -212,7 +212,7 @@ h5, .heading-5 {
|
|
|
212
212
|
fill: #D7D7D7;
|
|
213
213
|
}
|
|
214
214
|
.container .icon-colour-grey-light svg path {
|
|
215
|
-
fill: #
|
|
215
|
+
fill: #F6F6F6;
|
|
216
216
|
}
|
|
217
217
|
.container .icon-colour-grey-medium svg path {
|
|
218
218
|
fill: #8A8A8A;
|
|
@@ -132,7 +132,7 @@ a:hover {
|
|
|
132
132
|
|
|
133
133
|
.text-colour-hover-grey-light:hover,
|
|
134
134
|
.text-colour-grey-light {
|
|
135
|
-
color: #
|
|
135
|
+
color: #F6F6F6;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -198,7 +198,7 @@ a:hover {
|
|
|
198
198
|
color: #D7D7D7;
|
|
199
199
|
}
|
|
200
200
|
.container.colour-scheme-grey-light {
|
|
201
|
-
color: #
|
|
201
|
+
color: #F6F6F6;
|
|
202
202
|
}
|
|
203
203
|
.container.colour-scheme-grey-medium {
|
|
204
204
|
color: #8A8A8A;
|
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -207,7 +207,7 @@ a:hover {
|
|
|
207
207
|
|
|
208
208
|
.text-colour-hover-grey-light:hover,
|
|
209
209
|
.text-colour-grey-light {
|
|
210
|
-
color: #
|
|
210
|
+
color: #F6F6F6;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -328,7 +328,7 @@ a:hover {
|
|
|
328
328
|
stroke: #D7D7D7;
|
|
329
329
|
}
|
|
330
330
|
.container .sleeve .arrow-wrap.arrow-colour-grey-light .arrow-wrap svg path {
|
|
331
|
-
stroke: #
|
|
331
|
+
stroke: #F6F6F6;
|
|
332
332
|
}
|
|
333
333
|
.container .sleeve .arrow-wrap.arrow-colour-grey-medium .arrow-wrap svg path {
|
|
334
334
|
stroke: #8A8A8A;
|
|
@@ -408,7 +408,7 @@ a:hover {
|
|
|
408
408
|
stroke: #D7D7D7;
|
|
409
409
|
}
|
|
410
410
|
.container.arrow-colour-grey-light .arrow-wrap svg path {
|
|
411
|
-
stroke: #
|
|
411
|
+
stroke: #F6F6F6;
|
|
412
412
|
}
|
|
413
413
|
.container.arrow-colour-grey-medium .arrow-wrap svg path {
|
|
414
414
|
stroke: #8A8A8A;
|
|
@@ -76,7 +76,7 @@ a:hover {
|
|
|
76
76
|
|
|
77
77
|
.background-colour-hover-grey-light:hover,
|
|
78
78
|
.background-colour-grey-light {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #F6F6F6;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.background-colour-hover-grey-medium:hover,
|
|
@@ -151,7 +151,7 @@ a:hover {
|
|
|
151
151
|
|
|
152
152
|
.text-colour-hover-grey-light:hover,
|
|
153
153
|
.text-colour-grey-light {
|
|
154
|
-
color: #
|
|
154
|
+
color: #F6F6F6;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.text-colour-hover-grey-medium:hover,
|
|
@@ -328,7 +328,7 @@ a:hover {
|
|
|
328
328
|
stroke: #D7D7D7;
|
|
329
329
|
}
|
|
330
330
|
.container .sleeve .arrow-wrap.arrow-colour-grey-light .arrow-wrap svg path {
|
|
331
|
-
stroke: #
|
|
331
|
+
stroke: #F6F6F6;
|
|
332
332
|
}
|
|
333
333
|
.container .sleeve .arrow-wrap.arrow-colour-grey-medium .arrow-wrap svg path {
|
|
334
334
|
stroke: #8A8A8A;
|