@cooperco/cooper-component-library 0.1.130 → 0.1.131
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/cms/0096-delete-body-copy-content-type.cjs +70 -4
- package/dist/cms/0097-create-table-module.cjs +174 -0
- package/dist/cms/0098-update-container-collection-filtered-table.cjs +54 -0
- package/dist/cms/containerCollectionModule.query.ts +6 -0
- package/dist/cms/contentful/migrations/scripts/0096-delete-body-copy-content-type.cjs +70 -4
- package/dist/cms/contentful/migrations/scripts/0097-create-table-module.cjs +174 -0
- package/dist/cms/contentful/migrations/scripts/0098-update-container-collection-filtered-table.cjs +54 -0
- package/dist/cms/contentful/queries/containerCollectionModule.query.js +6 -0
- package/dist/cms/contentful/queries/containerCollectionModule.query.ts +6 -0
- package/dist/cms/contentful/queries/index.d.ts +1 -0
- package/dist/cms/contentful/queries/index.js +1 -0
- package/dist/cms/contentful/queries/index.ts +2 -0
- package/dist/cms/contentful/queries/tableModule.query.d.ts +2 -0
- package/dist/cms/contentful/queries/tableModule.query.js +60 -0
- package/dist/cms/contentful/queries/tableModule.query.ts +62 -0
- package/dist/cms/index.ts +2 -0
- package/dist/cms/migrations/scripts/0096-delete-body-copy-content-type.cjs +70 -4
- package/dist/cms/migrations/scripts/0097-create-table-module.cjs +174 -0
- package/dist/cms/migrations/scripts/0098-update-container-collection-filtered-table.cjs +54 -0
- package/dist/cms/queries/containerCollectionModule.query.ts +6 -0
- package/dist/cms/queries/index.ts +2 -0
- package/dist/cms/queries/tableModule.query.ts +62 -0
- package/dist/cms/scripts/0096-delete-body-copy-content-type.cjs +70 -4
- package/dist/cms/scripts/0097-create-table-module.cjs +174 -0
- package/dist/cms/scripts/0098-update-container-collection-filtered-table.cjs +54 -0
- package/dist/cms/tableModule.query.ts +62 -0
- package/dist/lib/component-lib.js +3850 -3456
- package/dist/lib/component-lib.umd.cjs +23 -23
- package/dist/lib/css/main.css +48 -18
- package/dist/lib/style.css +1 -1
- package/dist/types/cms/contentful/queries/index.d.ts +1 -0
- package/dist/types/cms/contentful/queries/tableModule.query.d.ts +2 -0
- package/dist/types/src/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +4 -1
- package/dist/types/src/components/TableModule/TableModule.d.ts +51 -0
- package/dist/types/src/components/TableModule/TableModule.vue.d.ts +3 -0
- package/dist/types/src/components/components.d.ts +1 -0
- package/dist/types/src/components/types.d.ts +1 -0
- package/dist/types/src/config/defaultPassthrough/index.d.ts +1 -0
- package/dist/types/src/config/defaultPassthrough/types.d.ts +3 -1
- package/dist/types/src/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/lib/css/main.css
CHANGED
|
@@ -118,7 +118,8 @@ div {
|
|
|
118
118
|
color: var(--copy-accent-color);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.content-module-body-copy table
|
|
121
|
+
.content-module-body-copy table,
|
|
122
|
+
.table-module table {
|
|
122
123
|
width: 100%;
|
|
123
124
|
border-collapse: separate;
|
|
124
125
|
border-spacing: 0;
|
|
@@ -129,7 +130,8 @@ div {
|
|
|
129
130
|
white-space: normal;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
.content-module-body-copy table th
|
|
133
|
+
.content-module-body-copy table th,
|
|
134
|
+
.table-module table th {
|
|
133
135
|
color: var(--iris);
|
|
134
136
|
font-family: 'GT-Walsheim-Bd';
|
|
135
137
|
padding: 0.75em 1em;
|
|
@@ -137,12 +139,14 @@ div {
|
|
|
137
139
|
text-align: center;
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
.content-module-body-copy table th:first-child
|
|
142
|
+
.content-module-body-copy table th:first-child,
|
|
143
|
+
.table-module table th:first-child {
|
|
141
144
|
text-align: left;
|
|
142
145
|
}
|
|
143
146
|
|
|
144
147
|
|
|
145
|
-
.content-module-body-copy table .table-highlighted-cell
|
|
148
|
+
.content-module-body-copy table .table-highlighted-cell,
|
|
149
|
+
.table-module table .table-highlighted-cell {
|
|
146
150
|
background-color: var(--hydrangea) !important;
|
|
147
151
|
color: var(--iris) !important;
|
|
148
152
|
font-family: 'GT-Walsheim-Bd';
|
|
@@ -150,7 +154,9 @@ div {
|
|
|
150
154
|
}
|
|
151
155
|
|
|
152
156
|
.content-module-body-copy table .table-empty-row,
|
|
153
|
-
.content-module-body-copy table .table-empty-column
|
|
157
|
+
.content-module-body-copy table .table-empty-column,
|
|
158
|
+
.table-module table .table-empty-row,
|
|
159
|
+
.table-module table .table-empty-column {
|
|
154
160
|
background-color: var(--iris) !important;
|
|
155
161
|
/* keep text readable; override color if necessary */
|
|
156
162
|
color: white !important;
|
|
@@ -159,21 +165,25 @@ div {
|
|
|
159
165
|
border-bottom: 1px solid rgb(0, 0, 0);
|
|
160
166
|
}
|
|
161
167
|
|
|
162
|
-
.content-module-body-copy table th:not(:last-child)
|
|
168
|
+
.content-module-body-copy table th:not(:last-child),
|
|
169
|
+
.table-module table th:not(:last-child) {
|
|
163
170
|
border-right: 1px solid rgb(0, 0, 0);
|
|
164
171
|
}
|
|
165
172
|
|
|
166
|
-
.content-module-body-copy table td
|
|
173
|
+
.content-module-body-copy table td,
|
|
174
|
+
.table-module table td {
|
|
167
175
|
padding: 1em;
|
|
168
176
|
text-align: center;
|
|
169
177
|
vertical-align: middle;
|
|
170
178
|
}
|
|
171
179
|
|
|
172
|
-
.content-module-body-copy table tr:not(:last-child) td
|
|
180
|
+
.content-module-body-copy table tr:not(:last-child) td,
|
|
181
|
+
.table-module table tr:not(:last-child) td {
|
|
173
182
|
border-bottom: 1px solid rgb(0, 0, 0);
|
|
174
183
|
}
|
|
175
184
|
|
|
176
|
-
.content-module-body-copy table td:not(:last-child)
|
|
185
|
+
.content-module-body-copy table td:not(:last-child),
|
|
186
|
+
.table-module table td:not(:last-child) {
|
|
177
187
|
border-right: 1px solid rgb(0, 0, 0);
|
|
178
188
|
}
|
|
179
189
|
|
|
@@ -182,8 +192,13 @@ div {
|
|
|
182
192
|
text-align: left;
|
|
183
193
|
}
|
|
184
194
|
|
|
195
|
+
.table-module table td:first-child {
|
|
196
|
+
text-align: left;
|
|
197
|
+
}
|
|
198
|
+
|
|
185
199
|
|
|
186
|
-
.content-module-body-copy table td:only-child
|
|
200
|
+
.content-module-body-copy table td:only-child,
|
|
201
|
+
.table-module table td:only-child {
|
|
187
202
|
background-color: var(--iris);
|
|
188
203
|
color: white;
|
|
189
204
|
font-family: 'GT-Walsheim-Bd';
|
|
@@ -191,43 +206,53 @@ div {
|
|
|
191
206
|
text-align: left;
|
|
192
207
|
}
|
|
193
208
|
|
|
194
|
-
.content-module-body-copy table p
|
|
209
|
+
.content-module-body-copy table p,
|
|
210
|
+
.table-module table p {
|
|
195
211
|
margin: 0;
|
|
196
212
|
white-space: normal;
|
|
197
213
|
}
|
|
198
214
|
|
|
199
|
-
.content-module-body-copy table td p
|
|
215
|
+
.content-module-body-copy table td p,
|
|
216
|
+
.table-module table td p {
|
|
200
217
|
padding-top: 0.5em;
|
|
201
218
|
}
|
|
202
219
|
|
|
203
|
-
.content-module-body-copy table td p:first-child
|
|
220
|
+
.content-module-body-copy table td p:first-child,
|
|
221
|
+
.table-module table td p:first-child {
|
|
204
222
|
padding-top: 0;
|
|
205
223
|
}
|
|
206
224
|
|
|
207
|
-
.content-module-body-copy table ul
|
|
225
|
+
.content-module-body-copy table ul,
|
|
226
|
+
.table-module table ul {
|
|
208
227
|
list-style: none;
|
|
209
228
|
margin: 1em 0 0 1em;
|
|
210
229
|
padding-left: 0;
|
|
211
230
|
text-align: left;
|
|
212
231
|
}
|
|
213
232
|
|
|
214
|
-
.content-module-body-copy table ul li
|
|
233
|
+
.content-module-body-copy table ul li,
|
|
234
|
+
.table-module table ul li {
|
|
215
235
|
position: relative;
|
|
216
236
|
padding-left: 1.5em;
|
|
217
237
|
margin: 0;
|
|
218
238
|
}
|
|
219
239
|
|
|
220
|
-
.content-module-body-copy table td:first-child
|
|
240
|
+
.content-module-body-copy table td:first-child,
|
|
241
|
+
.table-module table td:first-child {
|
|
221
242
|
--bullet-color: var(--rosemary);
|
|
243
|
+
/* no gray background for table-module first col — handled separately above */
|
|
222
244
|
}
|
|
223
245
|
|
|
224
246
|
|
|
225
247
|
.content-module-body-copy table td:nth-child(3),
|
|
226
|
-
.content-module-body-copy table td:nth-child(4)
|
|
248
|
+
.content-module-body-copy table td:nth-child(4),
|
|
249
|
+
.table-module table td:nth-child(3),
|
|
250
|
+
.table-module table td:nth-child(4) {
|
|
227
251
|
--bullet-color: var(--rosemary);
|
|
228
252
|
}
|
|
229
253
|
|
|
230
|
-
.content-module-body-copy table ul p
|
|
254
|
+
.content-module-body-copy table ul p,
|
|
255
|
+
.table-module table ul p {
|
|
231
256
|
padding-top: 0;
|
|
232
257
|
}
|
|
233
258
|
|
|
@@ -311,6 +336,11 @@ div {
|
|
|
311
336
|
|
|
312
337
|
/* ─── Unified bullet styles ─── */
|
|
313
338
|
@layer components {
|
|
339
|
+
.container-collection-headline {
|
|
340
|
+
max-width: 15ch;
|
|
341
|
+
white-space: pre-line;
|
|
342
|
+
}
|
|
343
|
+
|
|
314
344
|
/* Unordered list */
|
|
315
345
|
.content-module-body-copy ul,
|
|
316
346
|
.body-copy-with-lists ul,
|