@biggive/components 202307201413.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.
Files changed (106) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-0d3008a2.entry.js → p-4ac3c59d.entry.js} +1 -1
  3. package/dist/biggive/p-5ff6d84f.entry.js +1 -0
  4. package/dist/biggive/{p-9c09a586.entry.js → p-a70e0902.entry.js} +1 -1
  5. package/dist/biggive/p-b878559d.entry.js +1 -0
  6. package/dist/biggive/{p-9946cc08.entry.js → p-c0f333bc.entry.js} +1 -1
  7. package/dist/biggive/{p-e5f630d1.entry.js → p-e0041d91.entry.js} +1 -1
  8. package/dist/biggive/{p-50d9a75b.entry.js → p-e1f37ddb.entry.js} +1 -1
  9. package/dist/cjs/biggive-accordion_42.cjs.entry.js +27 -28
  10. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  11. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
  12. package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
  13. package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/biggive-image-card.cjs.entry.js +57 -0
  15. package/dist/cjs/biggive-table.cjs.entry.js +1 -1
  16. package/dist/cjs/biggive.cjs.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/collection/collection-manifest.json +1 -0
  19. package/dist/collection/components/biggive-accordion/biggive-accordion.css +4 -4
  20. package/dist/collection/components/biggive-article-card/biggive-article-card.css +6 -6
  21. package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +3 -3
  22. package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +4 -4
  23. package/dist/collection/components/biggive-biography-card/biggive-biography-card.css +9 -9
  24. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +1 -1
  25. package/dist/collection/components/biggive-button/biggive-button.css +5 -5
  26. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +1 -1
  27. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.css +1 -1
  28. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.css +1 -1
  29. package/dist/collection/components/biggive-carousel/biggive-carousel.css +1 -1
  30. package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +4 -4
  31. package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.js +1 -19
  32. package/dist/collection/components/biggive-form-field-text-input/biggive-text-input.stories.js +25 -0
  33. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +1 -1
  34. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
  35. package/dist/collection/components/biggive-generic-icon/biggive-generic-icon.css +6 -6
  36. package/dist/collection/components/biggive-heading/biggive-heading.css +2 -2
  37. package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +2 -2
  38. package/dist/collection/components/biggive-icon-button/biggive-icon-button.css +4 -4
  39. package/dist/collection/components/biggive-image-button/biggive-image-button.css +3 -3
  40. package/dist/collection/components/biggive-image-card/biggive-image-card.css +496 -0
  41. package/dist/collection/components/biggive-image-card/biggive-image-card.js +481 -0
  42. package/dist/collection/components/biggive-image-card/biggive-image-card.stories.js +80 -0
  43. package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +1 -1
  44. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +6 -6
  45. package/dist/collection/components/biggive-page-section/biggive-page-section.css +1 -1
  46. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.css +1 -1
  47. package/dist/collection/components/biggive-quote/biggive-quote.css +2 -2
  48. package/dist/collection/components/biggive-sheet/biggive-sheet.css +4 -4
  49. package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +8 -8
  50. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +54 -9
  51. package/dist/collection/components/biggive-table/biggive-table.css +12 -6
  52. package/dist/collection/components/biggive-timeline/biggive-timeline.css +13 -13
  53. package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +2 -2
  54. package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +1 -1
  55. package/dist/components/biggive-accordion.js +1 -1
  56. package/dist/components/biggive-article-card.js +1 -1
  57. package/dist/components/biggive-basic-card.js +1 -1
  58. package/dist/components/biggive-beneficiary-icon.js +1 -1
  59. package/dist/components/biggive-biography-card.js +1 -1
  60. package/dist/components/biggive-boxed-content.js +1 -1
  61. package/dist/components/biggive-button2.js +1 -1
  62. package/dist/components/biggive-call-to-action.js +1 -1
  63. package/dist/components/biggive-campaign-card.js +1 -1
  64. package/dist/components/biggive-campaign-highlights.js +1 -1
  65. package/dist/components/biggive-carousel2.js +1 -1
  66. package/dist/components/biggive-category-icon.js +1 -1
  67. package/dist/components/biggive-formatted-text.js +2 -2
  68. package/dist/components/biggive-generic-icon2.js +1 -1
  69. package/dist/components/biggive-heading.js +1 -1
  70. package/dist/components/biggive-hero-image.js +1 -1
  71. package/dist/components/biggive-icon-button.js +1 -1
  72. package/dist/components/biggive-image-button.js +1 -1
  73. package/dist/components/biggive-image-card.d.ts +11 -0
  74. package/dist/components/biggive-image-card.js +100 -0
  75. package/dist/components/biggive-image-feature.js +1 -1
  76. package/dist/components/biggive-misc-icon2.js +1 -1
  77. package/dist/components/biggive-page-section.js +1 -1
  78. package/dist/components/biggive-progress-bar2.js +1 -1
  79. package/dist/components/biggive-quote.js +1 -1
  80. package/dist/components/biggive-sheet.js +1 -1
  81. package/dist/components/biggive-social-icon2.js +1 -1
  82. package/dist/components/biggive-tabbed-content.js +1 -1
  83. package/dist/components/biggive-table.js +1 -1
  84. package/dist/components/biggive-text-input.js +2 -4
  85. package/dist/components/biggive-timeline.js +1 -1
  86. package/dist/components/biggive-totalizer.js +1 -1
  87. package/dist/components/biggive-video-feature.js +1 -1
  88. package/dist/components/index.d.ts +1 -0
  89. package/dist/components/index.js +1 -0
  90. package/dist/esm/biggive-accordion_42.entry.js +27 -28
  91. package/dist/esm/biggive-basic-card.entry.js +1 -1
  92. package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
  93. package/dist/esm/biggive-boxed-content.entry.js +1 -1
  94. package/dist/esm/biggive-category-icon.entry.js +1 -1
  95. package/dist/esm/biggive-image-card.entry.js +53 -0
  96. package/dist/esm/biggive-table.entry.js +1 -1
  97. package/dist/esm/biggive.js +1 -1
  98. package/dist/esm/loader.js +1 -1
  99. package/dist/types/components/biggive-form-field-text-input/biggive-text-input.d.ts +0 -4
  100. package/dist/types/components/biggive-form-field-text-input/biggive-text-input.stories.d.ts +5 -0
  101. package/dist/types/components/biggive-image-card/biggive-image-card.d.ts +27 -0
  102. package/dist/types/components/biggive-image-card/biggive-image-card.stories.d.ts +52 -0
  103. package/dist/types/components.d.ts +57 -8
  104. package/hydrate/index.js +115 -35
  105. package/package.json +1 -1
  106. package/dist/biggive/p-b9acc214.entry.js +0 -1
@@ -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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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 #E8E8E8;
517
+ border: 5px solid #F6F6F6;
518
518
  }
519
519
  .container .sleeve.border-width-2.border-colour-grey-light {
520
- border: 10px solid #E8E8E8;
520
+ border: 10px solid #F6F6F6;
521
521
  }
522
522
  .container .sleeve.border-width-3.border-colour-grey-light {
523
- border: 15px solid #E8E8E8;
523
+ border: 15px solid #F6F6F6;
524
524
  }
525
525
  .container .sleeve.border-width-4.border-colour-grey-light {
526
- border: 30px solid #E8E8E8;
526
+ border: 30px solid #F6F6F6;
527
527
  }
528
528
  .container .sleeve.border-width-5.border-colour-grey-light {
529
- border: 45px solid #E8E8E8;
529
+ border: 45px solid #F6F6F6;
530
530
  }
531
531
  .container .sleeve.border-width-6.border-colour-grey-light {
532
- border: 60px solid #E8E8E8;
532
+ border: 60px solid #F6F6F6;
533
533
  }
534
534
  .container .sleeve.border-width-1.border-colour-grey-medium {
535
535
  border: 5px solid #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: #E8E8E8;
79
+ background-color: #F6F6F6;
80
80
  }
81
81
 
82
82
  .background-colour-hover-grey-medium:hover,
@@ -238,11 +238,11 @@ a:hover {
238
238
 
239
239
  .button-grey-light {
240
240
  color: #000000;
241
- background-color: #E8E8E8;
242
- border-color: #E8E8E8;
241
+ background-color: #F6F6F6;
242
+ border-color: #F6F6F6;
243
243
  }
244
244
  .button-grey-light:hover {
245
- color: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
437
+ color: #F6F6F6;
438
438
  text-decoration: none;
439
439
  background-color: transparent;
440
440
  }
@@ -157,7 +157,7 @@ h5, .heading-5 {
157
157
 
158
158
  .text-colour-hover-grey-light:hover,
159
159
  .text-colour-grey-light {
160
- color: #E8E8E8;
160
+ color: #F6F6F6;
161
161
  }
162
162
 
163
163
  .text-colour-hover-grey-medium:hover,
@@ -160,7 +160,7 @@ a:hover {
160
160
  .container .progress-bar-wrap {
161
161
  padding-bottom: 10px;
162
162
  margin-bottom: 10px;
163
- border-bottom: 1px solid #E8E8E8;
163
+ border-bottom: 1px solid #F6F6F6;
164
164
  }
165
165
  .container .msg-wrapper {
166
166
  display: flex;
@@ -153,7 +153,7 @@ a:hover {
153
153
  .container .progress-bar-wrap {
154
154
  padding-bottom: 10px;
155
155
  margin-bottom: 10px;
156
- border-bottom: 1px solid #E8E8E8;
156
+ border-bottom: 1px solid #F6F6F6;
157
157
  }
158
158
  .container .stat-wrap {
159
159
  display: flex;
@@ -127,7 +127,7 @@ a:hover {
127
127
 
128
128
  .text-colour-hover-grey-light:hover,
129
129
  .text-colour-grey-light {
130
- color: #E8E8E8;
130
+ color: #F6F6F6;
131
131
  }
132
132
 
133
133
  .text-colour-hover-grey-medium:hover,
@@ -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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
264
+ background-color: #F6F6F6;
265
265
  }
266
266
  .category-icon-item.colour-scheme-black svg {
267
- fill: #E8E8E8;
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" }, this.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
  }
@@ -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: #E8E8E8;
130
+ color: #F6F6F6;
131
131
  }
132
132
 
133
133
  .text-colour-hover-grey-medium:hover,
@@ -6,7 +6,7 @@ export class BiggiveFormattedText {
6
6
  this.maxWidth = 100;
7
7
  }
8
8
  render() {
9
- return (h("div", { class: 'container max-width-' + this.maxWidth + ' text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, h("slot", null)));
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
246
+ background-color: #F6F6F6;
247
247
  }
248
248
  .generic-icon-item.colour-scheme-black svg {
249
- fill: #E8E8E8;
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: #E8E8E8;
366
+ background-color: #F6F6F6;
367
367
  }
368
368
  .generic-icon-item.colour-scheme-black svg {
369
- fill: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
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: #E8E8E8;
331
+ stroke: #F6F6F6;
332
332
  }
333
333
  .container .sleeve .arrow-wrap.arrow-colour-grey-medium .arrow-wrap svg path {
334
334
  stroke: #8A8A8A;