@cooperco/cooper-component-library 0.1.128 → 0.1.129

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 (45) hide show
  1. package/dist/cms/0095-create-table-module.cjs +174 -0
  2. package/dist/cms/0096-update-container-collection-filtered-table.cjs +57 -0
  3. package/dist/cms/containerCollectionModule.query.ts +6 -0
  4. package/dist/cms/contentful/migrations/scripts/0095-create-table-module.cjs +174 -0
  5. package/dist/cms/contentful/migrations/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  6. package/dist/cms/contentful/queries/containerCollectionModule.query.js +6 -0
  7. package/dist/cms/contentful/queries/containerCollectionModule.query.ts +6 -0
  8. package/dist/cms/contentful/queries/index.d.ts +1 -0
  9. package/dist/cms/contentful/queries/index.js +1 -0
  10. package/dist/cms/contentful/queries/index.ts +2 -0
  11. package/dist/cms/contentful/queries/tableModule.query.d.ts +2 -0
  12. package/dist/cms/contentful/queries/tableModule.query.js +60 -0
  13. package/dist/cms/contentful/queries/tableModule.query.ts +62 -0
  14. package/dist/cms/index.ts +2 -0
  15. package/dist/cms/migrations/scripts/0095-create-table-module.cjs +174 -0
  16. package/dist/cms/migrations/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  17. package/dist/cms/queries/containerCollectionModule.query.ts +6 -0
  18. package/dist/cms/queries/index.ts +2 -0
  19. package/dist/cms/queries/tableModule.query.ts +62 -0
  20. package/dist/cms/scripts/0095-create-table-module.cjs +174 -0
  21. package/dist/cms/scripts/0096-update-container-collection-filtered-table.cjs +57 -0
  22. package/dist/cms/tableModule.query.ts +62 -0
  23. package/dist/lib/component-lib.js +3634 -3253
  24. package/dist/lib/component-lib.umd.cjs +23 -23
  25. package/dist/lib/css/main.css +48 -18
  26. package/dist/lib/style.css +1 -1
  27. package/dist/types/cms/contentful/queries/index.d.ts +1 -0
  28. package/dist/types/cms/contentful/queries/tableModule.query.d.ts +2 -0
  29. package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +4 -1
  30. package/dist/types/src/components/TableModule/TableModule.d.ts +51 -0
  31. package/dist/types/src/components/TableModule/TableModule.vue.d.ts +3 -0
  32. package/dist/types/src/components/components.d.ts +1 -0
  33. package/dist/types/src/components/types.d.ts +1 -0
  34. package/dist/types/src/config/defaultPassthrough/index.d.ts +1 -0
  35. package/dist/types/src/config/defaultPassthrough/types.d.ts +3 -1
  36. package/dist/types/src/types.d.ts +1 -0
  37. package/package.json +1 -1
  38. /package/dist/cms/{0095-tabmodule-inline-body-copy.cjs → 0097-tabmodule-inline-body-copy.cjs} +0 -0
  39. /package/dist/cms/{0096-delete-body-copy-content-type.cjs → 0098-delete-body-copy-content-type.cjs} +0 -0
  40. /package/dist/cms/contentful/migrations/scripts/{0095-tabmodule-inline-body-copy.cjs → 0097-tabmodule-inline-body-copy.cjs} +0 -0
  41. /package/dist/cms/contentful/migrations/scripts/{0096-delete-body-copy-content-type.cjs → 0098-delete-body-copy-content-type.cjs} +0 -0
  42. /package/dist/cms/migrations/scripts/{0095-tabmodule-inline-body-copy.cjs → 0097-tabmodule-inline-body-copy.cjs} +0 -0
  43. /package/dist/cms/migrations/scripts/{0096-delete-body-copy-content-type.cjs → 0098-delete-body-copy-content-type.cjs} +0 -0
  44. /package/dist/cms/scripts/{0095-tabmodule-inline-body-copy.cjs → 0097-tabmodule-inline-body-copy.cjs} +0 -0
  45. /package/dist/cms/scripts/{0096-delete-body-copy-content-type.cjs → 0098-delete-body-copy-content-type.cjs} +0 -0
@@ -101,6 +101,11 @@ div {
101
101
  word-break: break-word;
102
102
  }
103
103
 
104
+ .container-collection-headline {
105
+ max-width: 15ch;
106
+ white-space: pre-line;
107
+ }
108
+
104
109
  .content-module-body-copy strong,
105
110
  .content-module-body-copy b {
106
111
  color: var(--copy-accent-color);
@@ -118,7 +123,8 @@ div {
118
123
  color: var(--copy-accent-color);
119
124
  }
120
125
 
121
- .content-module-body-copy table {
126
+ .content-module-body-copy table,
127
+ .table-module table {
122
128
  width: 100%;
123
129
  border-collapse: separate;
124
130
  border-spacing: 0;
@@ -129,7 +135,8 @@ div {
129
135
  white-space: normal;
130
136
  }
131
137
 
132
- .content-module-body-copy table th {
138
+ .content-module-body-copy table th,
139
+ .table-module table th {
133
140
  color: var(--iris);
134
141
  font-family: 'GT-Walsheim-Bd';
135
142
  padding: 0.75em 1em;
@@ -137,12 +144,14 @@ div {
137
144
  text-align: center;
138
145
  }
139
146
 
140
- .content-module-body-copy table th:first-child {
147
+ .content-module-body-copy table th:first-child,
148
+ .table-module table th:first-child {
141
149
  text-align: left;
142
150
  }
143
151
 
144
152
 
145
- .content-module-body-copy table .table-highlighted-cell {
153
+ .content-module-body-copy table .table-highlighted-cell,
154
+ .table-module table .table-highlighted-cell {
146
155
  background-color: var(--hydrangea) !important;
147
156
  color: var(--iris) !important;
148
157
  font-family: 'GT-Walsheim-Bd';
@@ -150,7 +159,9 @@ div {
150
159
  }
151
160
 
152
161
  .content-module-body-copy table .table-empty-row,
153
- .content-module-body-copy table .table-empty-column {
162
+ .content-module-body-copy table .table-empty-column,
163
+ .table-module table .table-empty-row,
164
+ .table-module table .table-empty-column {
154
165
  background-color: var(--iris) !important;
155
166
  /* keep text readable; override color if necessary */
156
167
  color: white !important;
@@ -159,21 +170,25 @@ div {
159
170
  border-bottom: 1px solid rgb(0, 0, 0);
160
171
  }
161
172
 
162
- .content-module-body-copy table th:not(:last-child) {
173
+ .content-module-body-copy table th:not(:last-child),
174
+ .table-module table th:not(:last-child) {
163
175
  border-right: 1px solid rgb(0, 0, 0);
164
176
  }
165
177
 
166
- .content-module-body-copy table td {
178
+ .content-module-body-copy table td,
179
+ .table-module table td {
167
180
  padding: 1em;
168
181
  text-align: center;
169
182
  vertical-align: middle;
170
183
  }
171
184
 
172
- .content-module-body-copy table tr:not(:last-child) td {
185
+ .content-module-body-copy table tr:not(:last-child) td,
186
+ .table-module table tr:not(:last-child) td {
173
187
  border-bottom: 1px solid rgb(0, 0, 0);
174
188
  }
175
189
 
176
- .content-module-body-copy table td:not(:last-child) {
190
+ .content-module-body-copy table td:not(:last-child),
191
+ .table-module table td:not(:last-child) {
177
192
  border-right: 1px solid rgb(0, 0, 0);
178
193
  }
179
194
 
@@ -182,8 +197,13 @@ div {
182
197
  text-align: left;
183
198
  }
184
199
 
200
+ .table-module table td:first-child {
201
+ text-align: left;
202
+ }
203
+
185
204
 
186
- .content-module-body-copy table td:only-child {
205
+ .content-module-body-copy table td:only-child,
206
+ .table-module table td:only-child {
187
207
  background-color: var(--iris);
188
208
  color: white;
189
209
  font-family: 'GT-Walsheim-Bd';
@@ -191,43 +211,53 @@ div {
191
211
  text-align: left;
192
212
  }
193
213
 
194
- .content-module-body-copy table p {
214
+ .content-module-body-copy table p,
215
+ .table-module table p {
195
216
  margin: 0;
196
217
  white-space: normal;
197
218
  }
198
219
 
199
- .content-module-body-copy table td p {
220
+ .content-module-body-copy table td p,
221
+ .table-module table td p {
200
222
  padding-top: 0.5em;
201
223
  }
202
224
 
203
- .content-module-body-copy table td p:first-child {
225
+ .content-module-body-copy table td p:first-child,
226
+ .table-module table td p:first-child {
204
227
  padding-top: 0;
205
228
  }
206
229
 
207
- .content-module-body-copy table ul {
230
+ .content-module-body-copy table ul,
231
+ .table-module table ul {
208
232
  list-style: none;
209
233
  margin: 1em 0 0 1em;
210
234
  padding-left: 0;
211
235
  text-align: left;
212
236
  }
213
237
 
214
- .content-module-body-copy table ul li {
238
+ .content-module-body-copy table ul li,
239
+ .table-module table ul li {
215
240
  position: relative;
216
241
  padding-left: 1.5em;
217
242
  margin: 0;
218
243
  }
219
244
 
220
- .content-module-body-copy table td:first-child {
245
+ .content-module-body-copy table td:first-child,
246
+ .table-module table td:first-child {
221
247
  --bullet-color: var(--rosemary);
248
+ /* no gray background for table-module first col — handled separately above */
222
249
  }
223
250
 
224
251
 
225
252
  .content-module-body-copy table td:nth-child(3),
226
- .content-module-body-copy table td:nth-child(4) {
253
+ .content-module-body-copy table td:nth-child(4),
254
+ .table-module table td:nth-child(3),
255
+ .table-module table td:nth-child(4) {
227
256
  --bullet-color: var(--rosemary);
228
257
  }
229
258
 
230
- .content-module-body-copy table ul p {
259
+ .content-module-body-copy table ul p,
260
+ .table-module table ul p {
231
261
  padding-top: 0;
232
262
  }
233
263