@zywave/zui-table 4.0.0 → 4.0.1-pre.3
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/README.md +1 -1
- package/dist/custom-elements.json +84 -29
- package/dist/zui-table-cell.d.ts +1 -1
- package/dist/zui-table-footer.d.ts +1 -1
- package/dist/zui-table-row.d.ts +1 -1
- package/dist/zui-table-topbar.d.ts +1 -1
- package/dist/zui-table.d.ts +1 -1
- package/package.json +3 -13
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"name": "ZuiTableCellElement",
|
|
13
13
|
"cssProperties": [
|
|
14
14
|
{
|
|
15
|
-
"description": "
|
|
15
|
+
"description": "Override cell padding",
|
|
16
16
|
"name": "--zui-table-cell-padding",
|
|
17
17
|
"default": "13px 20px"
|
|
18
18
|
}
|
|
@@ -20,25 +20,36 @@
|
|
|
20
20
|
"slots": [
|
|
21
21
|
{
|
|
22
22
|
"description": "Default slot; table cell content goes here",
|
|
23
|
-
"name": "
|
|
23
|
+
"name": ""
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"members": [
|
|
27
27
|
{
|
|
28
28
|
"kind": "field",
|
|
29
29
|
"name": "action",
|
|
30
|
-
"
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "boolean"
|
|
32
|
+
},
|
|
33
|
+
"default": "false",
|
|
34
|
+
"description": "Set to decrease table cell padding to accommodate action button(s)",
|
|
35
|
+
"attribute": "action",
|
|
36
|
+
"reflects": true
|
|
31
37
|
}
|
|
32
38
|
],
|
|
33
39
|
"attributes": [
|
|
34
40
|
{
|
|
35
41
|
"name": "action",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"default": "false",
|
|
36
46
|
"description": "Set to decrease table cell padding to accommodate action button(s)",
|
|
37
47
|
"fieldName": "action"
|
|
38
48
|
}
|
|
39
49
|
],
|
|
40
50
|
"superclass": {
|
|
41
|
-
"name": "ZuiBaseElement"
|
|
51
|
+
"name": "ZuiBaseElement",
|
|
52
|
+
"package": "@zywave/zui-base"
|
|
42
53
|
},
|
|
43
54
|
"tagName": "zui-table-cell",
|
|
44
55
|
"customElement": true
|
|
@@ -73,7 +84,7 @@
|
|
|
73
84
|
"name": "ZuiTableFooterElement",
|
|
74
85
|
"cssProperties": [
|
|
75
86
|
{
|
|
76
|
-
"description": "
|
|
87
|
+
"description": "Override the margin between the table and footer of the table",
|
|
77
88
|
"name": "--zui-table-footer-margin",
|
|
78
89
|
"default": "10px"
|
|
79
90
|
}
|
|
@@ -81,12 +92,13 @@
|
|
|
81
92
|
"slots": [
|
|
82
93
|
{
|
|
83
94
|
"description": "Default slot; table footer content goes here",
|
|
84
|
-
"name": "
|
|
95
|
+
"name": ""
|
|
85
96
|
}
|
|
86
97
|
],
|
|
87
98
|
"members": [],
|
|
88
99
|
"superclass": {
|
|
89
|
-
"name": "ZuiBaseElement"
|
|
100
|
+
"name": "ZuiBaseElement",
|
|
101
|
+
"package": "@zywave/zui-base"
|
|
90
102
|
},
|
|
91
103
|
"tagName": "zui-table-footer",
|
|
92
104
|
"customElement": true
|
|
@@ -121,17 +133,17 @@
|
|
|
121
133
|
"name": "ZuiTableRowElement",
|
|
122
134
|
"cssProperties": [
|
|
123
135
|
{
|
|
124
|
-
"description": "
|
|
136
|
+
"description": "Override the table columns template. See {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns} for more information on valid values.",
|
|
125
137
|
"name": "--zui-table-columns-template",
|
|
126
138
|
"default": "repeat(auto-fit, minmax(0, 1fr))"
|
|
127
139
|
},
|
|
128
140
|
{
|
|
129
|
-
"description": "
|
|
141
|
+
"description": "Override the table summary background color",
|
|
130
142
|
"name": "--zui-table-summary-background-color",
|
|
131
143
|
"default": "var(--zui-gray-600)"
|
|
132
144
|
},
|
|
133
145
|
{
|
|
134
|
-
"description": "
|
|
146
|
+
"description": "Override the table summary text color",
|
|
135
147
|
"name": "--zui-table-summary-text-color",
|
|
136
148
|
"default": "#fff"
|
|
137
149
|
}
|
|
@@ -139,19 +151,31 @@
|
|
|
139
151
|
"slots": [
|
|
140
152
|
{
|
|
141
153
|
"description": "Default slot; `<zui-table-cell>`s are declared here",
|
|
142
|
-
"name": "
|
|
154
|
+
"name": ""
|
|
143
155
|
}
|
|
144
156
|
],
|
|
145
157
|
"members": [
|
|
146
158
|
{
|
|
147
159
|
"kind": "field",
|
|
148
160
|
"name": "header",
|
|
149
|
-
"
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"default": "false",
|
|
165
|
+
"description": "Declare a table header; typically the first row in `<zui-table>`",
|
|
166
|
+
"attribute": "header",
|
|
167
|
+
"reflects": true
|
|
150
168
|
},
|
|
151
169
|
{
|
|
152
170
|
"kind": "field",
|
|
153
171
|
"name": "summary",
|
|
154
|
-
"
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "boolean"
|
|
174
|
+
},
|
|
175
|
+
"default": "false",
|
|
176
|
+
"description": "Declare a table summary row; typically the last row in `<zui-table>` before `<zui-table-footer>`",
|
|
177
|
+
"attribute": "summary",
|
|
178
|
+
"reflects": true
|
|
155
179
|
},
|
|
156
180
|
{
|
|
157
181
|
"kind": "field",
|
|
@@ -174,17 +198,26 @@
|
|
|
174
198
|
"attributes": [
|
|
175
199
|
{
|
|
176
200
|
"name": "header",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "boolean"
|
|
203
|
+
},
|
|
204
|
+
"default": "false",
|
|
177
205
|
"description": "Declare a table header; typically the first row in `<zui-table>`",
|
|
178
206
|
"fieldName": "header"
|
|
179
207
|
},
|
|
180
208
|
{
|
|
181
209
|
"name": "summary",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "boolean"
|
|
212
|
+
},
|
|
213
|
+
"default": "false",
|
|
182
214
|
"description": "Declare a table summary row; typically the last row in `<zui-table>` before `<zui-table-footer>`",
|
|
183
215
|
"fieldName": "summary"
|
|
184
216
|
}
|
|
185
217
|
],
|
|
186
218
|
"superclass": {
|
|
187
|
-
"name": "ZuiBaseElement"
|
|
219
|
+
"name": "ZuiBaseElement",
|
|
220
|
+
"package": "@zywave/zui-base"
|
|
188
221
|
},
|
|
189
222
|
"tagName": "zui-table-row",
|
|
190
223
|
"customElement": true
|
|
@@ -220,20 +253,21 @@
|
|
|
220
253
|
"slots": [
|
|
221
254
|
{
|
|
222
255
|
"description": "Default slot; table cell content goes here",
|
|
223
|
-
"name": "
|
|
256
|
+
"name": ""
|
|
224
257
|
},
|
|
225
258
|
{
|
|
226
|
-
"description": "
|
|
259
|
+
"description": "Total number of results from table goes here",
|
|
227
260
|
"name": "counter"
|
|
228
261
|
},
|
|
229
262
|
{
|
|
230
|
-
"description": "
|
|
263
|
+
"description": "Action(s) that affect the whole table goes here",
|
|
231
264
|
"name": "action"
|
|
232
265
|
}
|
|
233
266
|
],
|
|
234
267
|
"members": [],
|
|
235
268
|
"superclass": {
|
|
236
|
-
"name": "ZuiBaseElement"
|
|
269
|
+
"name": "ZuiBaseElement",
|
|
270
|
+
"package": "@zywave/zui-base"
|
|
237
271
|
},
|
|
238
272
|
"tagName": "zui-table-topbar",
|
|
239
273
|
"customElement": true
|
|
@@ -268,27 +302,27 @@
|
|
|
268
302
|
"name": "ZuiTableElement",
|
|
269
303
|
"cssProperties": [
|
|
270
304
|
{
|
|
271
|
-
"description": "
|
|
305
|
+
"description": "Override cell padding",
|
|
272
306
|
"name": "--zui-table-cell-padding",
|
|
273
307
|
"default": "13px 20px"
|
|
274
308
|
},
|
|
275
309
|
{
|
|
276
|
-
"description": "
|
|
310
|
+
"description": "Override the table columns template. See {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns} for more information on valid values.",
|
|
277
311
|
"name": "--zui-table-columns-template",
|
|
278
312
|
"default": "repeat(auto-fit, minmax(0, 1fr))"
|
|
279
313
|
},
|
|
280
314
|
{
|
|
281
|
-
"description": "
|
|
315
|
+
"description": "Override the table summary background color",
|
|
282
316
|
"name": "--zui-table-summary-background-color",
|
|
283
317
|
"default": "var(--zui-gray-600)"
|
|
284
318
|
},
|
|
285
319
|
{
|
|
286
|
-
"description": "
|
|
320
|
+
"description": "Override the the table summary text color",
|
|
287
321
|
"name": "--zui-table-summary-text-color",
|
|
288
322
|
"default": "#fff"
|
|
289
323
|
},
|
|
290
324
|
{
|
|
291
|
-
"description": "
|
|
325
|
+
"description": "Override the margin between the table and footer of the table",
|
|
292
326
|
"name": "--zui-table-footer-margin",
|
|
293
327
|
"default": "10px"
|
|
294
328
|
}
|
|
@@ -296,14 +330,14 @@
|
|
|
296
330
|
"slots": [
|
|
297
331
|
{
|
|
298
332
|
"description": "Default slot; all table content will appear here, such as table rows",
|
|
299
|
-
"name": "
|
|
333
|
+
"name": ""
|
|
300
334
|
},
|
|
301
335
|
{
|
|
302
|
-
"description": "
|
|
336
|
+
"description": "Customize the no results message that is shown when the `no-results` attribute is set on `<zui-table>`: `<zui-table no-results>`",
|
|
303
337
|
"name": "no-results-message"
|
|
304
338
|
},
|
|
305
339
|
{
|
|
306
|
-
"description": "
|
|
340
|
+
"description": "Only for `<zui-table-footer>`. When there is a `<zui-table-footer>` present inside `<zui-table>`, it will be auto-assigned to this slot in order to place it outside of the rendered table for styling purposes.",
|
|
307
341
|
"name": "footer"
|
|
308
342
|
}
|
|
309
343
|
],
|
|
@@ -311,12 +345,24 @@
|
|
|
311
345
|
{
|
|
312
346
|
"kind": "field",
|
|
313
347
|
"name": "banded",
|
|
314
|
-
"
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "boolean"
|
|
350
|
+
},
|
|
351
|
+
"default": "false",
|
|
352
|
+
"description": "Set for alternating table row background colors",
|
|
353
|
+
"attribute": "banded",
|
|
354
|
+
"reflects": true
|
|
315
355
|
},
|
|
316
356
|
{
|
|
317
357
|
"kind": "field",
|
|
318
358
|
"name": "noResults",
|
|
319
|
-
"
|
|
359
|
+
"type": {
|
|
360
|
+
"text": "boolean"
|
|
361
|
+
},
|
|
362
|
+
"default": "false",
|
|
363
|
+
"description": "Set to show or hide no results message when there are no results; use in conjunction with the assigned slot \"no-results-message\" to include a no results message",
|
|
364
|
+
"attribute": "no-results",
|
|
365
|
+
"reflects": true
|
|
320
366
|
},
|
|
321
367
|
{
|
|
322
368
|
"kind": "field",
|
|
@@ -343,17 +389,26 @@
|
|
|
343
389
|
"attributes": [
|
|
344
390
|
{
|
|
345
391
|
"name": "banded",
|
|
392
|
+
"type": {
|
|
393
|
+
"text": "boolean"
|
|
394
|
+
},
|
|
395
|
+
"default": "false",
|
|
346
396
|
"description": "Set for alternating table row background colors",
|
|
347
397
|
"fieldName": "banded"
|
|
348
398
|
},
|
|
349
399
|
{
|
|
350
400
|
"name": "no-results",
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "boolean"
|
|
403
|
+
},
|
|
404
|
+
"default": "false",
|
|
351
405
|
"description": "Set to show or hide no results message when there are no results; use in conjunction with the assigned slot \"no-results-message\" to include a no results message",
|
|
352
406
|
"fieldName": "noResults"
|
|
353
407
|
}
|
|
354
408
|
],
|
|
355
409
|
"superclass": {
|
|
356
|
-
"name": "ZuiBaseElement"
|
|
410
|
+
"name": "ZuiBaseElement",
|
|
411
|
+
"package": "@zywave/zui-base"
|
|
357
412
|
},
|
|
358
413
|
"tagName": "zui-table",
|
|
359
414
|
"customElement": true
|
package/dist/zui-table-cell.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class ZuiTableCellElement extends ZuiBaseElement {
|
|
|
11
11
|
* Set to decrease table cell padding to accommodate action button(s)
|
|
12
12
|
*/
|
|
13
13
|
action: boolean;
|
|
14
|
-
static get styles():
|
|
14
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
15
15
|
render(): import("lit-html").TemplateResult<1>;
|
|
16
16
|
}
|
|
17
17
|
declare global {
|
|
@@ -7,7 +7,7 @@ import { ZuiBaseElement } from '@zywave/zui-base';
|
|
|
7
7
|
* @cssprop [--zui-table-footer-margin=10px] - Override the margin between the table and footer of the table
|
|
8
8
|
*/
|
|
9
9
|
export declare class ZuiTableFooterElement extends ZuiBaseElement {
|
|
10
|
-
static get styles():
|
|
10
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
11
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
12
|
}
|
|
13
13
|
declare global {
|
package/dist/zui-table-row.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare class ZuiTableRowElement extends ZuiBaseElement {
|
|
|
20
20
|
summary: boolean;
|
|
21
21
|
private _slotEl;
|
|
22
22
|
private get _slottedCells();
|
|
23
|
-
static get styles():
|
|
23
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
24
24
|
connectedCallback(): void;
|
|
25
25
|
firstUpdated(): void;
|
|
26
26
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -7,7 +7,7 @@ import { ZuiBaseElement } from '@zywave/zui-base';
|
|
|
7
7
|
* @slot action - Action(s) that affect the whole table goes here
|
|
8
8
|
*/
|
|
9
9
|
export declare class ZuiTableTopbarElement extends ZuiBaseElement {
|
|
10
|
-
static get styles():
|
|
10
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
11
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
12
|
}
|
|
13
13
|
declare global {
|
package/dist/zui-table.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare class ZuiTableElement extends ZuiBaseElement {
|
|
|
24
24
|
noResults: boolean;
|
|
25
25
|
private _slotEl;
|
|
26
26
|
private get _footer();
|
|
27
|
-
static get styles():
|
|
27
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
28
28
|
connectedCallback(): void;
|
|
29
29
|
firstUpdated(): void;
|
|
30
30
|
render(): import("lit-html").TemplateResult<1>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zywave/zui-table",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1-pre.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -16,22 +16,12 @@
|
|
|
16
16
|
"watcher:start": "node ../../../scripts/node/watcher.mjs",
|
|
17
17
|
"analyze": "cem analyze --globs src/zui-*.ts --litelement --outdir dist"
|
|
18
18
|
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"autoprefixer": "^9.7.6",
|
|
21
|
-
"browser-sync": "^2.23.7",
|
|
22
|
-
"cssnano": "^4.1.10",
|
|
23
|
-
"del": "^5.1.0",
|
|
24
|
-
"polyserve": "^0.27.8",
|
|
25
|
-
"postcss": "^7.0.27",
|
|
26
|
-
"rollup": "^2.6.1",
|
|
27
|
-
"rollup-plugin-babel": "^4.4.0"
|
|
28
|
-
},
|
|
29
19
|
"publishConfig": {
|
|
30
20
|
"access": "public"
|
|
31
21
|
},
|
|
32
22
|
"customElements": "dist/custom-elements.json",
|
|
33
23
|
"dependencies": {
|
|
34
|
-
"@zywave/zui-base": "^4.1.
|
|
24
|
+
"@zywave/zui-base": "^4.1.19-pre.3"
|
|
35
25
|
},
|
|
36
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "3f9c6f095666b6f5333f11b54762bf240a4dbc02"
|
|
37
27
|
}
|