@biggive/components 202302161725.0.0 → 202303021718.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 (85) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-517cb7f7.entry.js → p-08fc4499.entry.js} +1 -1
  3. package/dist/biggive/{p-722c8c52.entry.js → p-0f38685b.entry.js} +1 -1
  4. package/dist/biggive/{p-f6ddbee5.entry.js → p-13f4a2c4.entry.js} +1 -1
  5. package/dist/biggive/{p-57cd992c.entry.js → p-223759f6.entry.js} +1 -1
  6. package/dist/biggive/{p-9350e5e9.entry.js → p-34cfc5da.entry.js} +1 -1
  7. package/dist/biggive/{p-c75752fd.entry.js → p-3b378f79.entry.js} +1 -1
  8. package/dist/biggive/{p-9dc67a33.entry.js → p-52bb0267.entry.js} +1 -1
  9. package/dist/biggive/{p-35200669.entry.js → p-53189bc6.entry.js} +1 -1
  10. package/dist/biggive/{p-1a8cc3db.entry.js → p-5a38b219.entry.js} +1 -1
  11. package/dist/biggive/{p-c128620b.entry.js → p-71054cf6.entry.js} +1 -1
  12. package/dist/biggive/p-780650cc.entry.js +1 -0
  13. package/dist/biggive/{p-a0f7c83c.entry.js → p-8876011d.entry.js} +1 -1
  14. package/dist/biggive/{p-441bc7d1.entry.js → p-95bd7f7a.entry.js} +1 -1
  15. package/dist/biggive/{p-f0e1930b.entry.js → p-99f18976.entry.js} +1 -1
  16. package/dist/biggive/p-a0941518.entry.js +1 -0
  17. package/dist/biggive/p-acf3bcd9.js +2 -0
  18. package/dist/biggive/{p-a546f541.entry.js → p-d7f8a6fd.entry.js} +1 -1
  19. package/dist/biggive/{p-a35c092d.entry.js → p-d8432f12.entry.js} +1 -1
  20. package/dist/biggive/{p-2afc20c1.entry.js → p-eb6aecf0.entry.js} +1 -1
  21. package/dist/biggive/{p-056f9d01.entry.js → p-f8e38bb9.entry.js} +1 -1
  22. package/dist/biggive/{p-9e11b9fe.entry.js → p-fe9f3e72.entry.js} +1 -1
  23. package/dist/cjs/biggive-article-card.cjs.entry.js +1 -1
  24. package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +1 -1
  25. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  26. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
  28. package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
  29. package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  31. package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
  32. package/dist/cjs/biggive-header.cjs.entry.js +1 -1
  33. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  34. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  35. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  36. package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
  37. package/dist/cjs/biggive-search.cjs.entry.js +1 -1
  38. package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
  39. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +1 -1
  40. package/dist/cjs/biggive-table.cjs.entry.js +33 -0
  41. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  42. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  43. package/dist/cjs/biggive.cjs.js +2 -2
  44. package/dist/cjs/{index-562d2f5c.js → index-4ae5dbd7.js} +389 -7
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/collection/collection-manifest.json +1 -0
  47. package/dist/collection/components/biggive-table/biggive-table.css +324 -0
  48. package/dist/collection/components/biggive-table/biggive-table.js +147 -0
  49. package/dist/collection/components/biggive-table/biggive-table.stories.js +76 -0
  50. package/dist/collection/globals/brand-colour.js +1 -0
  51. package/dist/components/biggive-table.d.ts +11 -0
  52. package/dist/components/biggive-table.js +52 -0
  53. package/dist/components/index.d.ts +1 -0
  54. package/dist/components/index.js +1 -0
  55. package/dist/esm/biggive-article-card.entry.js +1 -1
  56. package/dist/esm/biggive-back-to-top_27.entry.js +1 -1
  57. package/dist/esm/biggive-basic-card.entry.js +1 -1
  58. package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
  59. package/dist/esm/biggive-biography-card.entry.js +1 -1
  60. package/dist/esm/biggive-boxed-content.entry.js +1 -1
  61. package/dist/esm/biggive-category-icon.entry.js +1 -1
  62. package/dist/esm/biggive-form.entry.js +1 -1
  63. package/dist/esm/biggive-formatted-text.entry.js +1 -1
  64. package/dist/esm/biggive-header.entry.js +1 -1
  65. package/dist/esm/biggive-icon-group.entry.js +1 -1
  66. package/dist/esm/biggive-nav-group.entry.js +1 -1
  67. package/dist/esm/biggive-nav-item.entry.js +1 -1
  68. package/dist/esm/biggive-popup-standalone.entry.js +1 -1
  69. package/dist/esm/biggive-search.entry.js +1 -1
  70. package/dist/esm/biggive-tab.entry.js +1 -1
  71. package/dist/esm/biggive-tabbed-content.entry.js +1 -1
  72. package/dist/esm/biggive-table.entry.js +29 -0
  73. package/dist/esm/biggive-text-input.entry.js +1 -1
  74. package/dist/esm/biggive-video.entry.js +1 -1
  75. package/dist/esm/biggive.js +2 -2
  76. package/dist/esm/{index-5ca4e7a1.js → index-43541c5f.js} +389 -7
  77. package/dist/esm/loader.js +2 -2
  78. package/dist/types/components/biggive-table/biggive-table.d.ts +9 -0
  79. package/dist/types/components/biggive-table/biggive-table.stories.d.ts +42 -0
  80. package/dist/types/components.d.ts +24 -0
  81. package/dist/types/globals/brand-colour.d.ts +1 -0
  82. package/hydrate/index.js +41 -0
  83. package/package.json +1 -1
  84. package/dist/biggive/p-c0aadf86.entry.js +0 -1
  85. package/dist/biggive/p-d49d5f66.js +0 -2
@@ -0,0 +1,324 @@
1
+ a {
2
+ color: inherit;
3
+ text-decoration: underline;
4
+ }
5
+ a:hover {
6
+ text-decoration: none;
7
+ }
8
+
9
+ .background-colour-hover-primary:hover,
10
+ .background-colour-primary {
11
+ background-color: #2C089B;
12
+ }
13
+
14
+ .background-colour-hover-secondary:hover,
15
+ .background-colour-secondary {
16
+ background-color: #2AF135;
17
+ }
18
+
19
+ .background-colour-hover-tertiary:hover,
20
+ .background-colour-tertiary {
21
+ background-color: #FF7272;
22
+ }
23
+
24
+ .background-colour-hover-brand-1:hover,
25
+ .background-colour-brand-1 {
26
+ background-color: #B30510;
27
+ }
28
+
29
+ .background-colour-hover-brand-2:hover,
30
+ .background-colour-brand-2 {
31
+ background-color: #6E0887;
32
+ }
33
+
34
+ .background-colour-hover-brand-3:hover,
35
+ .background-colour-brand-3 {
36
+ background-color: #50B400;
37
+ }
38
+
39
+ .background-colour-hover-brand-4:hover,
40
+ .background-colour-brand-4 {
41
+ background-color: #FFE500;
42
+ }
43
+
44
+ .background-colour-hover-brand-5:hover,
45
+ .background-colour-brand-5 {
46
+ background-color: #F07D00;
47
+ }
48
+
49
+ .background-colour-hover-brand-6:hover,
50
+ .background-colour-brand-6 {
51
+ background-color: #CBC8C8;
52
+ }
53
+
54
+ .background-colour-hover-white:hover,
55
+ .background-colour-white {
56
+ background-color: #FFFFFF;
57
+ }
58
+
59
+ .background-colour-hover-black:hover,
60
+ .background-colour-black {
61
+ background-color: #000000;
62
+ }
63
+
64
+ .fill-primary {
65
+ fill: #2C089B;
66
+ }
67
+
68
+ .fill-secondary {
69
+ fill: #2AF135;
70
+ }
71
+
72
+ .fill-tertiary {
73
+ fill: #FF7272;
74
+ }
75
+
76
+ .fill-brand-1 {
77
+ fill: #B30510;
78
+ }
79
+
80
+ .fill-brand-2 {
81
+ fill: #6E0887;
82
+ }
83
+
84
+ .fill-brand-3 {
85
+ fill: #50B400;
86
+ }
87
+
88
+ .fill-brand-4 {
89
+ fill: #FFE500;
90
+ }
91
+
92
+ .fill-brand-5 {
93
+ fill: #F07D00;
94
+ }
95
+
96
+ .fill-brand-6 {
97
+ fill: #CBC8C8;
98
+ }
99
+
100
+ .fill-brand-mhf-turquoise {
101
+ fill: #62CFC9;
102
+ }
103
+
104
+ .fill-white {
105
+ fill: #FFFFFF;
106
+ }
107
+
108
+ .fill-black {
109
+ fill: #000000;
110
+ }
111
+
112
+ .fill-red {
113
+ fill: red;
114
+ }
115
+
116
+ :host {
117
+ display: contents;
118
+ font-family: "Euclid Triangle", sans-serif;
119
+ font-size: 17px;
120
+ line-height: 24px;
121
+ }
122
+
123
+ .container.header-text-colour-primary thead {
124
+ color: #2C089B;
125
+ }
126
+ .container.header-background-colour-primary thead {
127
+ background-color: #2C089B;
128
+ }
129
+ .container.body-text-colour-primary tbody {
130
+ color: #2C089B;
131
+ }
132
+ .container.body-background-colour-primary tbody {
133
+ background-color: #2C089B;
134
+ }
135
+ .container.header-text-colour-secondary thead {
136
+ color: #2AF135;
137
+ }
138
+ .container.header-background-colour-secondary thead {
139
+ background-color: #2AF135;
140
+ }
141
+ .container.body-text-colour-secondary tbody {
142
+ color: #2AF135;
143
+ }
144
+ .container.body-background-colour-secondary tbody {
145
+ background-color: #2AF135;
146
+ }
147
+ .container.header-text-colour-tertiary thead {
148
+ color: #FF7272;
149
+ }
150
+ .container.header-background-colour-tertiary thead {
151
+ background-color: #FF7272;
152
+ }
153
+ .container.body-text-colour-tertiary tbody {
154
+ color: #FF7272;
155
+ }
156
+ .container.body-background-colour-tertiary tbody {
157
+ background-color: #FF7272;
158
+ }
159
+ .container.header-text-colour-brand-1 thead {
160
+ color: #62CFC9;
161
+ }
162
+ .container.header-background-colour-brand-1 thead {
163
+ background-color: #62CFC9;
164
+ }
165
+ .container.body-text-colour-brand-1 tbody {
166
+ color: #62CFC9;
167
+ }
168
+ .container.body-background-colour-brand-1 tbody {
169
+ background-color: #62CFC9;
170
+ }
171
+ .container.header-text-colour-brand-2 thead {
172
+ color: #B30510;
173
+ }
174
+ .container.header-background-colour-brand-2 thead {
175
+ background-color: #B30510;
176
+ }
177
+ .container.body-text-colour-brand-2 tbody {
178
+ color: #B30510;
179
+ }
180
+ .container.body-background-colour-brand-2 tbody {
181
+ background-color: #B30510;
182
+ }
183
+ .container.header-text-colour-brand-3 thead {
184
+ color: #6E0887;
185
+ }
186
+ .container.header-background-colour-brand-3 thead {
187
+ background-color: #6E0887;
188
+ }
189
+ .container.body-text-colour-brand-3 tbody {
190
+ color: #6E0887;
191
+ }
192
+ .container.body-background-colour-brand-3 tbody {
193
+ background-color: #6E0887;
194
+ }
195
+ .container.header-text-colour-brand-4 thead {
196
+ color: #50B400;
197
+ }
198
+ .container.header-background-colour-brand-4 thead {
199
+ background-color: #50B400;
200
+ }
201
+ .container.body-text-colour-brand-4 tbody {
202
+ color: #50B400;
203
+ }
204
+ .container.body-background-colour-brand-4 tbody {
205
+ background-color: #50B400;
206
+ }
207
+ .container.header-text-colour-brand-5 thead {
208
+ color: #FFE500;
209
+ }
210
+ .container.header-background-colour-brand-5 thead {
211
+ background-color: #FFE500;
212
+ }
213
+ .container.body-text-colour-brand-5 tbody {
214
+ color: #FFE500;
215
+ }
216
+ .container.body-background-colour-brand-5 tbody {
217
+ background-color: #FFE500;
218
+ }
219
+ .container.header-text-colour-brand-6 thead {
220
+ color: #F07D00;
221
+ }
222
+ .container.header-background-colour-brand-6 thead {
223
+ background-color: #F07D00;
224
+ }
225
+ .container.body-text-colour-brand-6 tbody {
226
+ color: #F07D00;
227
+ }
228
+ .container.body-background-colour-brand-6 tbody {
229
+ background-color: #F07D00;
230
+ }
231
+ .container.header-text-colour-white thead {
232
+ color: #FFFFFF;
233
+ }
234
+ .container.header-background-colour-white thead {
235
+ background-color: #FFFFFF;
236
+ }
237
+ .container.body-text-colour-white tbody {
238
+ color: #FFFFFF;
239
+ }
240
+ .container.body-background-colour-white tbody {
241
+ background-color: #FFFFFF;
242
+ }
243
+ .container.header-text-colour-black thead {
244
+ color: #000000;
245
+ }
246
+ .container.header-background-colour-black thead {
247
+ background-color: #000000;
248
+ }
249
+ .container.body-text-colour-black tbody {
250
+ color: #000000;
251
+ }
252
+ .container.body-background-colour-black tbody {
253
+ background-color: #000000;
254
+ }
255
+ .container.header-text-colour-grey-extra-light thead {
256
+ color: #D7D7D7;
257
+ }
258
+ .container.header-background-colour-grey-extra-light thead {
259
+ background-color: #D7D7D7;
260
+ }
261
+ .container.body-text-colour-grey-extra-light tbody {
262
+ color: #D7D7D7;
263
+ }
264
+ .container.body-background-colour-grey-extra-light tbody {
265
+ background-color: #D7D7D7;
266
+ }
267
+ .container.header-text-colour-grey-light thead {
268
+ color: #E8E8E8;
269
+ }
270
+ .container.header-background-colour-grey-light thead {
271
+ background-color: #E8E8E8;
272
+ }
273
+ .container.body-text-colour-grey-light tbody {
274
+ color: #E8E8E8;
275
+ }
276
+ .container.body-background-colour-grey-light tbody {
277
+ background-color: #E8E8E8;
278
+ }
279
+ .container.header-text-colour-grey-medium thead {
280
+ color: #8A8A8A;
281
+ }
282
+ .container.header-background-colour-grey-medium thead {
283
+ background-color: #8A8A8A;
284
+ }
285
+ .container.body-text-colour-grey-medium tbody {
286
+ color: #8A8A8A;
287
+ }
288
+ .container.body-background-colour-grey-medium tbody {
289
+ background-color: #8A8A8A;
290
+ }
291
+ .container.header-text-colour-grey-dark thead {
292
+ color: #4A4A4A;
293
+ }
294
+ .container.header-background-colour-grey-dark thead {
295
+ background-color: #4A4A4A;
296
+ }
297
+ .container.body-text-colour-grey-dark tbody {
298
+ color: #4A4A4A;
299
+ }
300
+ .container.body-background-colour-grey-dark tbody {
301
+ background-color: #4A4A4A;
302
+ }
303
+ .container table {
304
+ width: 100%;
305
+ border-collapse: collapse;
306
+ border: 0;
307
+ }
308
+ .container table td, .container table th {
309
+ padding: 10px 20px;
310
+ border: 0;
311
+ font-size: inherit;
312
+ }
313
+ .container table thead {
314
+ filter: drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.15));
315
+ }
316
+ .container table thead td, .container table thead th {
317
+ font-weight: bold;
318
+ }
319
+ .container table tbody tr.odd {
320
+ background-color: rgba(255, 255, 255, 0.3);
321
+ }
322
+ .container table tbody td, .container table tbody th {
323
+ font-size: 80%;
324
+ }
@@ -0,0 +1,147 @@
1
+ import { h } from '@stencil/core';
2
+ export class BiggiveTable {
3
+ constructor() {
4
+ this.spaceBelow = 0;
5
+ this.headerTextColour = 'primary';
6
+ this.headerBackgroundColour = 'white';
7
+ this.bodyTextColour = 'black';
8
+ this.bodyBackgroundColour = 'grey-light';
9
+ }
10
+ render() {
11
+ return (h("div", { class: 'container header-text-colour-' +
12
+ this.headerTextColour +
13
+ ' header-background-colour-' +
14
+ this.headerBackgroundColour +
15
+ ' body-text-colour-' +
16
+ this.bodyTextColour +
17
+ ' body-background-colour-' +
18
+ this.bodyBackgroundColour +
19
+ ' space-below-' +
20
+ this.spaceBelow }, h("slot", null)));
21
+ }
22
+ static get is() { return "biggive-table"; }
23
+ static get originalStyleUrls() {
24
+ return {
25
+ "$": ["biggive-table.scss"]
26
+ };
27
+ }
28
+ static get styleUrls() {
29
+ return {
30
+ "$": ["biggive-table.css"]
31
+ };
32
+ }
33
+ static get properties() {
34
+ return {
35
+ "spaceBelow": {
36
+ "type": "number",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "number",
40
+ "resolved": "number",
41
+ "references": {}
42
+ },
43
+ "required": false,
44
+ "optional": false,
45
+ "docs": {
46
+ "tags": [],
47
+ "text": ""
48
+ },
49
+ "attribute": "space-below",
50
+ "reflect": false,
51
+ "defaultValue": "0"
52
+ },
53
+ "headerTextColour": {
54
+ "type": "string",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "brandColour",
58
+ "resolved": "\"black\" | \"brand-1\" | \"brand-2\" | \"brand-3\" | \"brand-4\" | \"brand-5\" | \"brand-6\" | \"grey-dark\" | \"grey-light\" | \"primary\" | \"secondary\" | \"tertiary\" | \"white\"",
59
+ "references": {
60
+ "brandColour": {
61
+ "location": "import",
62
+ "path": "../../globals/brand-colour"
63
+ }
64
+ }
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": ""
71
+ },
72
+ "attribute": "header-text-colour",
73
+ "reflect": false,
74
+ "defaultValue": "'primary'"
75
+ },
76
+ "headerBackgroundColour": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "brandColour",
81
+ "resolved": "\"black\" | \"brand-1\" | \"brand-2\" | \"brand-3\" | \"brand-4\" | \"brand-5\" | \"brand-6\" | \"grey-dark\" | \"grey-light\" | \"primary\" | \"secondary\" | \"tertiary\" | \"white\"",
82
+ "references": {
83
+ "brandColour": {
84
+ "location": "import",
85
+ "path": "../../globals/brand-colour"
86
+ }
87
+ }
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "attribute": "header-background-colour",
96
+ "reflect": false,
97
+ "defaultValue": "'white'"
98
+ },
99
+ "bodyTextColour": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "brandColour",
104
+ "resolved": "\"black\" | \"brand-1\" | \"brand-2\" | \"brand-3\" | \"brand-4\" | \"brand-5\" | \"brand-6\" | \"grey-dark\" | \"grey-light\" | \"primary\" | \"secondary\" | \"tertiary\" | \"white\"",
105
+ "references": {
106
+ "brandColour": {
107
+ "location": "import",
108
+ "path": "../../globals/brand-colour"
109
+ }
110
+ }
111
+ },
112
+ "required": false,
113
+ "optional": false,
114
+ "docs": {
115
+ "tags": [],
116
+ "text": ""
117
+ },
118
+ "attribute": "body-text-colour",
119
+ "reflect": false,
120
+ "defaultValue": "'black'"
121
+ },
122
+ "bodyBackgroundColour": {
123
+ "type": "string",
124
+ "mutable": false,
125
+ "complexType": {
126
+ "original": "brandColour",
127
+ "resolved": "\"black\" | \"brand-1\" | \"brand-2\" | \"brand-3\" | \"brand-4\" | \"brand-5\" | \"brand-6\" | \"grey-dark\" | \"grey-light\" | \"primary\" | \"secondary\" | \"tertiary\" | \"white\"",
128
+ "references": {
129
+ "brandColour": {
130
+ "location": "import",
131
+ "path": "../../globals/brand-colour"
132
+ }
133
+ }
134
+ },
135
+ "required": false,
136
+ "optional": false,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": ""
140
+ },
141
+ "attribute": "body-background-colour",
142
+ "reflect": false,
143
+ "defaultValue": "'grey-light'"
144
+ }
145
+ };
146
+ }
147
+ }
@@ -0,0 +1,76 @@
1
+ export default {
2
+ title: 'Components/Content',
3
+ argTypes: {
4
+ spaceBelow: {
5
+ name: 'Space below',
6
+ control: {
7
+ type: 'select',
8
+ options: [0, 1, 2, 3, 4, 5, 6],
9
+ },
10
+ },
11
+ headerTextColour: {
12
+ name: 'Header text colour',
13
+ control: {
14
+ type: 'select',
15
+ options: ['primary', 'secondary', 'tertiary', 'brand-1', 'brand-2', 'brand-3', 'brand-4', 'brand-5', 'brand-6', 'white', 'black'],
16
+ },
17
+ },
18
+ headerBackgroundColour: {
19
+ name: 'Header background colour',
20
+ control: {
21
+ type: 'select',
22
+ options: ['primary', 'secondary', 'tertiary', 'brand-1', 'brand-2', 'brand-3', 'brand-4', 'brand-5', 'brand-6', 'white', 'black'],
23
+ },
24
+ },
25
+ bodyTextColour: {
26
+ name: 'Body text colour',
27
+ control: {
28
+ type: 'select',
29
+ options: ['primary', 'secondary', 'tertiary', 'brand-1', 'brand-2', 'brand-3', 'brand-4', 'brand-5', 'brand-6', 'white', 'black'],
30
+ },
31
+ },
32
+ bodyBackgroundColour: {
33
+ name: 'Body background colour',
34
+ control: {
35
+ type: 'select',
36
+ options: ['primary', 'secondary', 'tertiary', 'brand-1', 'brand-2', 'brand-3', 'brand-4', 'brand-5', 'brand-6', 'white', 'black'],
37
+ },
38
+ },
39
+ },
40
+ };
41
+ const Template = args => `
42
+ <biggive-table
43
+ space-below="${args.spaceBelow}"
44
+ header-text-colour="${args.headerTextColour}"
45
+ header-background-colour="${args.headerBackgroundColour}"
46
+ body-text-colour="${args.bodyTextColour}"
47
+ body-background-colour="${args.bodyBackgroundColour}"/>
48
+
49
+ <table>
50
+ <thead>
51
+ <tr>
52
+ <th>Column 1</th>
53
+ <th>Column 2</th>
54
+ </tr>
55
+ </thead>
56
+ <tbody>
57
+ <tr>
58
+ <td>Cell 1</td>
59
+ <td>Cell 2</td>
60
+ </tr>
61
+ <tr>
62
+ <td>Cell 3</td>
63
+ <td>Cell 4</td>
64
+ </tr>
65
+ </tbody>
66
+ </table>
67
+ </biggive-table>
68
+ `;
69
+ export const TableComponent = Template.bind({});
70
+ TableComponent.args = {
71
+ spaceBelow: 4,
72
+ headerTextColour: 'white',
73
+ headerBackgroundColour: 'primary',
74
+ bodyTextColour: 'black',
75
+ bodyBackgroundColour: 'white',
76
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BiggiveTable extends Components.BiggiveTable, HTMLElement {}
4
+ export const BiggiveTable: {
5
+ prototype: BiggiveTable;
6
+ new (): BiggiveTable;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,52 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ const biggiveTableCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container.header-text-colour-primary thead{color:#2C089B}.container.header-background-colour-primary thead{background-color:#2C089B}.container.body-text-colour-primary tbody{color:#2C089B}.container.body-background-colour-primary tbody{background-color:#2C089B}.container.header-text-colour-secondary thead{color:#2AF135}.container.header-background-colour-secondary thead{background-color:#2AF135}.container.body-text-colour-secondary tbody{color:#2AF135}.container.body-background-colour-secondary tbody{background-color:#2AF135}.container.header-text-colour-tertiary thead{color:#FF7272}.container.header-background-colour-tertiary thead{background-color:#FF7272}.container.body-text-colour-tertiary tbody{color:#FF7272}.container.body-background-colour-tertiary tbody{background-color:#FF7272}.container.header-text-colour-brand-1 thead{color:#62CFC9}.container.header-background-colour-brand-1 thead{background-color:#62CFC9}.container.body-text-colour-brand-1 tbody{color:#62CFC9}.container.body-background-colour-brand-1 tbody{background-color:#62CFC9}.container.header-text-colour-brand-2 thead{color:#B30510}.container.header-background-colour-brand-2 thead{background-color:#B30510}.container.body-text-colour-brand-2 tbody{color:#B30510}.container.body-background-colour-brand-2 tbody{background-color:#B30510}.container.header-text-colour-brand-3 thead{color:#6E0887}.container.header-background-colour-brand-3 thead{background-color:#6E0887}.container.body-text-colour-brand-3 tbody{color:#6E0887}.container.body-background-colour-brand-3 tbody{background-color:#6E0887}.container.header-text-colour-brand-4 thead{color:#50B400}.container.header-background-colour-brand-4 thead{background-color:#50B400}.container.body-text-colour-brand-4 tbody{color:#50B400}.container.body-background-colour-brand-4 tbody{background-color:#50B400}.container.header-text-colour-brand-5 thead{color:#FFE500}.container.header-background-colour-brand-5 thead{background-color:#FFE500}.container.body-text-colour-brand-5 tbody{color:#FFE500}.container.body-background-colour-brand-5 tbody{background-color:#FFE500}.container.header-text-colour-brand-6 thead{color:#F07D00}.container.header-background-colour-brand-6 thead{background-color:#F07D00}.container.body-text-colour-brand-6 tbody{color:#F07D00}.container.body-background-colour-brand-6 tbody{background-color:#F07D00}.container.header-text-colour-white thead{color:#FFFFFF}.container.header-background-colour-white thead{background-color:#FFFFFF}.container.body-text-colour-white tbody{color:#FFFFFF}.container.body-background-colour-white tbody{background-color:#FFFFFF}.container.header-text-colour-black thead{color:#000000}.container.header-background-colour-black thead{background-color:#000000}.container.body-text-colour-black tbody{color:#000000}.container.body-background-colour-black tbody{background-color:#000000}.container.header-text-colour-grey-extra-light thead{color:#D7D7D7}.container.header-background-colour-grey-extra-light thead{background-color:#D7D7D7}.container.body-text-colour-grey-extra-light tbody{color:#D7D7D7}.container.body-background-colour-grey-extra-light tbody{background-color:#D7D7D7}.container.header-text-colour-grey-light thead{color:#E8E8E8}.container.header-background-colour-grey-light thead{background-color:#E8E8E8}.container.body-text-colour-grey-light tbody{color:#E8E8E8}.container.body-background-colour-grey-light tbody{background-color:#E8E8E8}.container.header-text-colour-grey-medium thead{color:#8A8A8A}.container.header-background-colour-grey-medium thead{background-color:#8A8A8A}.container.body-text-colour-grey-medium tbody{color:#8A8A8A}.container.body-background-colour-grey-medium tbody{background-color:#8A8A8A}.container.header-text-colour-grey-dark thead{color:#4A4A4A}.container.header-background-colour-grey-dark thead{background-color:#4A4A4A}.container.body-text-colour-grey-dark tbody{color:#4A4A4A}.container.body-background-colour-grey-dark tbody{background-color:#4A4A4A}.container table{width:100%;border-collapse:collapse;border:0}.container table td,.container table th{padding:10px 20px;border:0;font-size:inherit}.container table thead{filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.15))}.container table thead td,.container table thead th{font-weight:bold}.container table tbody tr.odd{background-color:rgba(255, 255, 255, 0.3)}.container table tbody td,.container table tbody th{font-size:80%}";
4
+
5
+ const BiggiveTable$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.spaceBelow = 0;
10
+ this.headerTextColour = 'primary';
11
+ this.headerBackgroundColour = 'white';
12
+ this.bodyTextColour = 'black';
13
+ this.bodyBackgroundColour = 'grey-light';
14
+ }
15
+ render() {
16
+ return (h("div", { class: 'container header-text-colour-' +
17
+ this.headerTextColour +
18
+ ' header-background-colour-' +
19
+ this.headerBackgroundColour +
20
+ ' body-text-colour-' +
21
+ this.bodyTextColour +
22
+ ' body-background-colour-' +
23
+ this.bodyBackgroundColour +
24
+ ' space-below-' +
25
+ this.spaceBelow }, h("slot", null)));
26
+ }
27
+ static get style() { return biggiveTableCss; }
28
+ }, [4, "biggive-table", {
29
+ "spaceBelow": [2, "space-below"],
30
+ "headerTextColour": [1, "header-text-colour"],
31
+ "headerBackgroundColour": [1, "header-background-colour"],
32
+ "bodyTextColour": [1, "body-text-colour"],
33
+ "bodyBackgroundColour": [1, "body-background-colour"]
34
+ }]);
35
+ function defineCustomElement$1() {
36
+ if (typeof customElements === "undefined") {
37
+ return;
38
+ }
39
+ const components = ["biggive-table"];
40
+ components.forEach(tagName => { switch (tagName) {
41
+ case "biggive-table":
42
+ if (!customElements.get(tagName)) {
43
+ customElements.define(tagName, BiggiveTable$1);
44
+ }
45
+ break;
46
+ } });
47
+ }
48
+
49
+ const BiggiveTable = BiggiveTable$1;
50
+ const defineCustomElement = defineCustomElement$1;
51
+
52
+ export { BiggiveTable, defineCustomElement };
@@ -39,6 +39,7 @@ export { BigGiveSearch as BiggiveSearch } from '../types/components/biggive-sear
39
39
  export { BiggiveSocialIcon as BiggiveSocialIcon } from '../types/components/biggive-social-icon/biggive-social-icon';
40
40
  export { BiggiveTab as BiggiveTab } from '../types/components/biggive-tab/biggive-tab';
41
41
  export { BiggiveTabbedContent as BiggiveTabbedContent } from '../types/components/biggive-tabbed-content/biggive-tabbed-content';
42
+ export { BiggiveTable as BiggiveTable } from '../types/components/biggive-table/biggive-table';
42
43
  export { BiggiveTextInput as BiggiveTextInput } from '../types/components/biggive-form-field-text-input/biggive-text-input';
43
44
  export { BiggiveTotalizer as BiggiveTotalizer } from '../types/components/biggive-totalizer/biggive-totalizer';
44
45
  export { BiggiveTotalizerTickerItem as BiggiveTotalizerTickerItem } from '../types/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item';
@@ -39,6 +39,7 @@ export { BiggiveSearch, defineCustomElement as defineCustomElementBiggiveSearch
39
39
  export { BiggiveSocialIcon, defineCustomElement as defineCustomElementBiggiveSocialIcon } from './biggive-social-icon.js';
40
40
  export { BiggiveTab, defineCustomElement as defineCustomElementBiggiveTab } from './biggive-tab.js';
41
41
  export { BiggiveTabbedContent, defineCustomElement as defineCustomElementBiggiveTabbedContent } from './biggive-tabbed-content.js';
42
+ export { BiggiveTable, defineCustomElement as defineCustomElementBiggiveTable } from './biggive-table.js';
42
43
  export { BiggiveTextInput, defineCustomElement as defineCustomElementBiggiveTextInput } from './biggive-text-input.js';
43
44
  export { BiggiveTotalizer, defineCustomElement as defineCustomElementBiggiveTotalizer } from './biggive-totalizer.js';
44
45
  export { BiggiveTotalizerTickerItem, defineCustomElement as defineCustomElementBiggiveTotalizerTickerItem } from './biggive-totalizer-ticker-item.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-5ca4e7a1.js';
1
+ import { r as registerInstance, h } from './index-43541c5f.js';
2
2
 
3
3
  const biggiveArticleCardCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents}.align-right{text-align:right}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left;padding:30px}.container .sleeve{padding:30px 30px 0 30px;clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .slug{margin-bottom:5px}.container .date{font-size:13px;line-height:17px;margin-bottom:15px}.container h3{font-size:20px;line-height:24px;font-weight:bold;margin-bottom:15px}.container h3 a,.container h3 a:hover{text-decoration:none}.container .image-group{margin-bottom:15px}.container .image-group .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-wrap img{display:none}.container .image-group .image-label{font-size:13px;line-height:17px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getAssetPath, c as createEvent, a as getElement, H as Host } from './index-5ca4e7a1.js';
1
+ import { r as registerInstance, h, g as getAssetPath, c as createEvent, a as getElement, H as Host } from './index-43541c5f.js';
2
2
  import { f as faMagnifyingGlass, a as faFilterSlash } from './index-93ca83cc.js';
3
3
  import { F as FontAwesomeIconsService } from './fontawesome-icons-9dc35408.js';
4
4
  import { V as VideoService } from './video-4e17ad68.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-5ca4e7a1.js';
1
+ import { r as registerInstance, h } from './index-43541c5f.js';
2
2
 
3
3
  const biggiveBasicCardCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container .sleeve{padding:30px;height:100%;box-sizing:border-box}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container .title{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-5ca4e7a1.js';
1
+ import { r as registerInstance, h } from './index-43541c5f.js';
2
2
  import { F as FontAwesomeIconsService } from './fontawesome-icons-9dc35408.js';
3
3
  import './index-93ca83cc.js';
4
4