@db-ux/wc-core-components 4.5.4-table-c758ae7 → 4.5.4-tailwind-inline-5d37a00
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 +11 -9
- package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/db-accordion.cjs.entry.js +2 -2
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +3 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
- package/dist/cjs/db-divider.cjs.entry.js +2 -2
- package/dist/cjs/db-drawer.cjs.entry.js +4 -4
- package/dist/cjs/db-header.cjs.entry.js +3 -3
- package/dist/cjs/db-icon.cjs.entry.js +2 -2
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/{db-table-caption.cjs.entry.js → db-link.cjs.entry.js} +7 -6
- package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation.cjs.entry.js +3 -3
- package/dist/cjs/db-notification.cjs.entry.js +3 -3
- package/dist/cjs/db-page.cjs.entry.js +3 -3
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-section.cjs.entry.js +3 -3
- package/dist/cjs/db-select.cjs.entry.js +3 -3
- package/dist/cjs/db-stack.cjs.entry.js +3 -3
- package/dist/cjs/db-switch.cjs.entry.js +3 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/db-tabs.cjs.entry.js +3 -3
- package/dist/cjs/db-textarea.cjs.entry.js +3 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-CSakRmZZ.js → index-EqJP9Qyt.js} +0 -21
- package/dist/cjs/index.cjs.js +1 -20
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -9
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/brand/brand.js +2 -2
- package/dist/collection/components/button/button.js +4 -4
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/custom-button/custom-button.js +5 -5
- package/dist/collection/components/custom-select/custom-select.js +7 -7
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -2
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/infotext/infotext.js +2 -2
- package/dist/collection/components/input/input.js +6 -6
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +2 -2
- package/dist/collection/components/notification/notification.js +3 -3
- package/dist/collection/components/page/page.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/section/section.js +2 -2
- package/dist/collection/components/select/select.js +4 -4
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +6 -6
- package/dist/collection/components/tab-item/tab-item.js +5 -5
- package/dist/collection/components/tab-list/tab-list.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +3 -3
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/index.js +0 -16
- package/dist/collection/shared/model.js +1 -1
- package/dist/custom-elements.json +2660 -5671
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/p-05e9aa2e.entry.js +1 -0
- package/dist/db-ux/{p-7387346c.entry.js → p-19ae6336.entry.js} +1 -1
- package/dist/db-ux/{p-dbdfc04a.entry.js → p-2c30a356.entry.js} +1 -1
- package/dist/db-ux/p-2ed98454.entry.js +1 -0
- package/dist/db-ux/p-33443732.entry.js +1 -0
- package/dist/db-ux/{p-150c4aeb.entry.js → p-3ca07f53.entry.js} +1 -1
- package/dist/db-ux/{p-d603dcc4.entry.js → p-4a0870fa.entry.js} +1 -1
- package/dist/db-ux/{p-8f76eea7.entry.js → p-4f519859.entry.js} +1 -1
- package/dist/db-ux/{p-0055d6ce.entry.js → p-516c3f64.entry.js} +1 -1
- package/dist/db-ux/{p-6b87f6f1.entry.js → p-56da8875.entry.js} +1 -1
- package/dist/db-ux/p-58c6c29d.entry.js +1 -0
- package/dist/db-ux/{p-7da51a4c.entry.js → p-669fe992.entry.js} +1 -1
- package/dist/db-ux/{p-19fe0672.entry.js → p-72d1ea3b.entry.js} +1 -1
- package/dist/db-ux/{p-77ee580e.entry.js → p-7f6fae6f.entry.js} +1 -1
- package/dist/db-ux/{p-10acdb01.entry.js → p-83e69c0e.entry.js} +1 -1
- package/dist/db-ux/p-85897212.entry.js +1 -0
- package/dist/db-ux/p-8a521b05.entry.js +1 -0
- package/dist/db-ux/p-974fbc69.entry.js +1 -0
- package/dist/db-ux/{p-8baf5ea2.entry.js → p-a0f6fc10.entry.js} +1 -1
- package/dist/db-ux/p-a3aef74b.entry.js +1 -0
- package/dist/db-ux/{p-e367150f.entry.js → p-a726cd18.entry.js} +1 -1
- package/dist/db-ux/{p-54d2e18d.entry.js → p-aad2d524.entry.js} +1 -1
- package/dist/db-ux/{p-5e4de899.entry.js → p-b99e76fd.entry.js} +1 -1
- package/dist/db-ux/{p-823a7488.entry.js → p-bd1b0142.entry.js} +1 -1
- package/dist/db-ux/{p-032487d0.entry.js → p-c7d1bee4.entry.js} +1 -1
- package/dist/db-ux/p-cb093137.entry.js +1 -0
- package/dist/db-ux/{p-003f3468.entry.js → p-cdef6789.entry.js} +1 -1
- package/dist/db-ux/{p-e3279b61.entry.js → p-df2b1979.entry.js} +1 -1
- package/dist/db-ux/{p-e9058123.entry.js → p-f49ed233.entry.js} +1 -1
- package/dist/db-ux/{p-50a16969.entry.js → p-fc9fb7cd.entry.js} +1 -1
- package/dist/db-ux/{p-47bd992d.entry.js → p-fdbf8d91.entry.js} +1 -1
- package/dist/db-ux/p-kHKR5QG5.js +2 -0
- package/dist/esm/db-accordion-item.entry.js +3 -3
- package/dist/esm/db-accordion.entry.js +2 -2
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +3 -3
- package/dist/esm/db-checkbox.entry.js +3 -3
- package/dist/esm/db-custom-button.entry.js +3 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
- package/dist/esm/db-custom-select-form-field.entry.js +3 -3
- package/dist/esm/db-custom-select.entry.js +6 -6
- package/dist/esm/db-divider.entry.js +2 -2
- package/dist/esm/db-drawer.entry.js +4 -4
- package/dist/esm/db-header.entry.js +3 -3
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/{db-table-caption.entry.js → db-link.entry.js} +8 -7
- package/dist/esm/db-navigation-item.entry.js +2 -2
- package/dist/esm/db-navigation.entry.js +3 -3
- package/dist/esm/db-notification.entry.js +3 -3
- package/dist/esm/db-page.entry.js +3 -3
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +2 -2
- package/dist/esm/db-section.entry.js +3 -3
- package/dist/esm/db-select.entry.js +3 -3
- package/dist/esm/db-stack.entry.js +3 -3
- package/dist/esm/db-switch.entry.js +3 -3
- package/dist/esm/db-tab-item_3.entry.js +7 -7
- package/dist/esm/db-tabs.entry.js +3 -3
- package/dist/esm/db-textarea.entry.js +3 -3
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-LpjjuLKB.js → index-kHKR5QG5.js} +0 -21
- package/dist/esm/index.js +2 -13
- package/dist/esm/loader.js +3 -3
- package/dist/types/components.d.ts +0 -278
- package/dist/types/index.d.ts +0 -16
- package/dist/types/shared/model.d.ts +2 -42
- package/dist/vscode.html-custom-data.json +2 -400
- package/dist/web-types.json +4 -692
- package/package.json +3 -3
- package/dist/cjs/db-link_4.cjs.entry.js +0 -220
- package/dist/cjs/db-table-body_3.cjs.entry.js +0 -173
- package/dist/cjs/db-table.cjs.entry.js +0 -136
- package/dist/collection/components/table/examples/data.js +0 -258
- package/dist/collection/components/table/index.js +0 -2
- package/dist/collection/components/table/model.js +0 -6
- package/dist/collection/components/table/table.js +0 -456
- package/dist/collection/components/table-body/index.js +0 -2
- package/dist/collection/components/table-body/model.js +0 -1
- package/dist/collection/components/table-body/table-body.js +0 -137
- package/dist/collection/components/table-caption/index.js +0 -2
- package/dist/collection/components/table-caption/model.js +0 -1
- package/dist/collection/components/table-caption/table-caption.js +0 -109
- package/dist/collection/components/table-data-cell/index.js +0 -2
- package/dist/collection/components/table-data-cell/model.js +0 -1
- package/dist/collection/components/table-data-cell/table-data-cell.js +0 -291
- package/dist/collection/components/table-footer/index.js +0 -2
- package/dist/collection/components/table-footer/model.js +0 -1
- package/dist/collection/components/table-footer/table-footer.js +0 -137
- package/dist/collection/components/table-head/index.js +0 -2
- package/dist/collection/components/table-head/model.js +0 -1
- package/dist/collection/components/table-head/table-head.js +0 -140
- package/dist/collection/components/table-header-cell/index.js +0 -2
- package/dist/collection/components/table-header-cell/model.js +0 -1
- package/dist/collection/components/table-header-cell/table-header-cell.js +0 -369
- package/dist/collection/components/table-row/index.js +0 -2
- package/dist/collection/components/table-row/model.js +0 -1
- package/dist/collection/components/table-row/table-row.js +0 -195
- package/dist/db-ux/p-2cdc1311.entry.js +0 -1
- package/dist/db-ux/p-33ca6422.entry.js +0 -1
- package/dist/db-ux/p-42e61221.entry.js +0 -1
- package/dist/db-ux/p-68a1d35a.entry.js +0 -1
- package/dist/db-ux/p-75005663.entry.js +0 -1
- package/dist/db-ux/p-7f2eaa8b.entry.js +0 -1
- package/dist/db-ux/p-8826c7fc.entry.js +0 -1
- package/dist/db-ux/p-97f5d48e.entry.js +0 -1
- package/dist/db-ux/p-LpjjuLKB.js +0 -2
- package/dist/db-ux/p-a8368ed2.entry.js +0 -1
- package/dist/db-ux/p-c0b8571d.entry.js +0 -1
- package/dist/db-ux/p-d20bd873.entry.js +0 -1
- package/dist/db-ux/p-e9142fec.entry.js +0 -1
- package/dist/esm/db-link_4.entry.js +0 -215
- package/dist/esm/db-table-body_3.entry.js +0 -169
- package/dist/esm/db-table.entry.js +0 -134
- package/dist/types/components/table/examples/data.d.ts +0 -9
- package/dist/types/components/table/index.d.ts +0 -2
- package/dist/types/components/table/model.d.ts +0 -74
- package/dist/types/components/table/table.d.ts +0 -37
- package/dist/types/components/table-body/index.d.ts +0 -2
- package/dist/types/components/table-body/model.d.ts +0 -8
- package/dist/types/components/table-body/table-body.d.ts +0 -19
- package/dist/types/components/table-caption/index.d.ts +0 -2
- package/dist/types/components/table-caption/model.d.ts +0 -5
- package/dist/types/components/table-caption/table-caption.d.ts +0 -18
- package/dist/types/components/table-data-cell/index.d.ts +0 -2
- package/dist/types/components/table-data-cell/model.d.ts +0 -5
- package/dist/types/components/table-data-cell/table-data-cell.d.ts +0 -25
- package/dist/types/components/table-footer/index.d.ts +0 -2
- package/dist/types/components/table-footer/model.d.ts +0 -8
- package/dist/types/components/table-footer/table-footer.d.ts +0 -19
- package/dist/types/components/table-head/index.d.ts +0 -2
- package/dist/types/components/table-head/model.d.ts +0 -10
- package/dist/types/components/table-head/table-head.d.ts +0 -58
- package/dist/types/components/table-header-cell/index.d.ts +0 -2
- package/dist/types/components/table-header-cell/model.d.ts +0 -24
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +0 -28
- package/dist/types/components/table-row/index.d.ts +0 -2
- package/dist/types/components/table-row/model.d.ts +0 -30
- package/dist/types/components/table-row/table-row.d.ts +0 -23
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
const defaultHeader = [{
|
|
2
|
-
cells: [{
|
|
3
|
-
content: 'A',
|
|
4
|
-
scope: 'col'
|
|
5
|
-
}, {
|
|
6
|
-
content: 'B',
|
|
7
|
-
scope: 'col'
|
|
8
|
-
}, {
|
|
9
|
-
content: 'C',
|
|
10
|
-
scope: 'col'
|
|
11
|
-
}]
|
|
12
|
-
}];
|
|
13
|
-
const defaultBody = [{
|
|
14
|
-
cells: [{
|
|
15
|
-
content: '1',
|
|
16
|
-
headerCell: true,
|
|
17
|
-
scope: 'row'
|
|
18
|
-
}, {
|
|
19
|
-
content: '2'
|
|
20
|
-
}, {
|
|
21
|
-
content: '3'
|
|
22
|
-
}]
|
|
23
|
-
}, {
|
|
24
|
-
cells: [{
|
|
25
|
-
content: '4',
|
|
26
|
-
headerCell: true,
|
|
27
|
-
scope: 'row'
|
|
28
|
-
}, {
|
|
29
|
-
content: '5'
|
|
30
|
-
}, {
|
|
31
|
-
content: '6'
|
|
32
|
-
}]
|
|
33
|
-
}, {
|
|
34
|
-
cells: [{
|
|
35
|
-
content: '7',
|
|
36
|
-
headerCell: true,
|
|
37
|
-
scope: 'row'
|
|
38
|
-
}, {
|
|
39
|
-
content: '8'
|
|
40
|
-
}, {
|
|
41
|
-
content: '9'
|
|
42
|
-
}]
|
|
43
|
-
}];
|
|
44
|
-
const defaultFooter = [{
|
|
45
|
-
cells: [{
|
|
46
|
-
content: 'Footer 1',
|
|
47
|
-
headerCell: true,
|
|
48
|
-
scope: 'row'
|
|
49
|
-
}, {
|
|
50
|
-
content: 'Footer 2',
|
|
51
|
-
colSpan: 2
|
|
52
|
-
}]
|
|
53
|
-
}];
|
|
54
|
-
export const defaultTable = {
|
|
55
|
-
header: defaultHeader,
|
|
56
|
-
body: defaultBody,
|
|
57
|
-
footer: defaultFooter
|
|
58
|
-
};
|
|
59
|
-
export const horizontalAlignmentStartTable = {
|
|
60
|
-
header: [{
|
|
61
|
-
cells: [{
|
|
62
|
-
content: 'A',
|
|
63
|
-
horizontalAlignment: 'start',
|
|
64
|
-
scope: 'col'
|
|
65
|
-
}, {
|
|
66
|
-
content: 'B',
|
|
67
|
-
horizontalAlignment: 'start',
|
|
68
|
-
colSpan: 2,
|
|
69
|
-
scope: 'col'
|
|
70
|
-
}]
|
|
71
|
-
}],
|
|
72
|
-
body: [{
|
|
73
|
-
cells: [{
|
|
74
|
-
content: '1',
|
|
75
|
-
headerCell: true,
|
|
76
|
-
horizontalAlignment: 'start',
|
|
77
|
-
scope: 'row'
|
|
78
|
-
}, {
|
|
79
|
-
content: '2',
|
|
80
|
-
horizontalAlignment: 'start'
|
|
81
|
-
}, {
|
|
82
|
-
content: '3',
|
|
83
|
-
horizontalAlignment: 'start'
|
|
84
|
-
}]
|
|
85
|
-
}]
|
|
86
|
-
};
|
|
87
|
-
export const horizontalAlignmentCenterTable = {
|
|
88
|
-
header: [{
|
|
89
|
-
cells: [{
|
|
90
|
-
content: 'A',
|
|
91
|
-
horizontalAlignment: 'center',
|
|
92
|
-
scope: 'col'
|
|
93
|
-
}, {
|
|
94
|
-
content: 'B',
|
|
95
|
-
horizontalAlignment: 'center',
|
|
96
|
-
colSpan: 2,
|
|
97
|
-
scope: 'col'
|
|
98
|
-
}]
|
|
99
|
-
}],
|
|
100
|
-
body: [{
|
|
101
|
-
cells: [{
|
|
102
|
-
content: '1',
|
|
103
|
-
headerCell: true,
|
|
104
|
-
horizontalAlignment: 'center',
|
|
105
|
-
scope: 'row'
|
|
106
|
-
}, {
|
|
107
|
-
content: '2',
|
|
108
|
-
horizontalAlignment: 'center'
|
|
109
|
-
}, {
|
|
110
|
-
content: '3',
|
|
111
|
-
horizontalAlignment: 'center'
|
|
112
|
-
}]
|
|
113
|
-
}]
|
|
114
|
-
};
|
|
115
|
-
export const horizontalAlignmentEndTable = {
|
|
116
|
-
header: [{
|
|
117
|
-
cells: [{
|
|
118
|
-
content: 'A',
|
|
119
|
-
horizontalAlignment: 'end',
|
|
120
|
-
scope: 'col'
|
|
121
|
-
}, {
|
|
122
|
-
content: 'B',
|
|
123
|
-
horizontalAlignment: 'end',
|
|
124
|
-
colSpan: 2,
|
|
125
|
-
scope: 'col'
|
|
126
|
-
}]
|
|
127
|
-
}],
|
|
128
|
-
body: [{
|
|
129
|
-
cells: [{
|
|
130
|
-
content: '1',
|
|
131
|
-
headerCell: true,
|
|
132
|
-
horizontalAlignment: 'end',
|
|
133
|
-
scope: 'row'
|
|
134
|
-
}, {
|
|
135
|
-
content: '2',
|
|
136
|
-
horizontalAlignment: 'end'
|
|
137
|
-
}, {
|
|
138
|
-
content: '3',
|
|
139
|
-
horizontalAlignment: 'end'
|
|
140
|
-
}]
|
|
141
|
-
}]
|
|
142
|
-
};
|
|
143
|
-
export const subHeaderEmphasisNoneTable = {
|
|
144
|
-
header: [...defaultHeader, {
|
|
145
|
-
cells: [{
|
|
146
|
-
content: 'Sub A',
|
|
147
|
-
scope: 'col'
|
|
148
|
-
}, {
|
|
149
|
-
content: 'Sub B',
|
|
150
|
-
scope: 'col'
|
|
151
|
-
}, {
|
|
152
|
-
content: 'Sub C',
|
|
153
|
-
scope: 'col'
|
|
154
|
-
}]
|
|
155
|
-
}],
|
|
156
|
-
body: defaultBody,
|
|
157
|
-
footer: defaultFooter
|
|
158
|
-
};
|
|
159
|
-
export const subHeaderEmphasisWeakTable = {
|
|
160
|
-
header: [...defaultHeader, {
|
|
161
|
-
subHeaderEmphasis: 'weak',
|
|
162
|
-
cells: [{
|
|
163
|
-
content: 'Sub A',
|
|
164
|
-
scope: 'col'
|
|
165
|
-
}, {
|
|
166
|
-
content: 'Sub B',
|
|
167
|
-
scope: 'col'
|
|
168
|
-
}, {
|
|
169
|
-
content: 'Sub C',
|
|
170
|
-
scope: 'col'
|
|
171
|
-
}]
|
|
172
|
-
}],
|
|
173
|
-
body: defaultBody,
|
|
174
|
-
footer: defaultFooter
|
|
175
|
-
};
|
|
176
|
-
export const subHeaderEmphasisStrongTable = {
|
|
177
|
-
header: [...defaultHeader, {
|
|
178
|
-
subHeaderEmphasis: 'strong',
|
|
179
|
-
cells: [{
|
|
180
|
-
content: 'Sub A',
|
|
181
|
-
scope: 'col'
|
|
182
|
-
}, {
|
|
183
|
-
content: 'Sub B',
|
|
184
|
-
scope: 'col'
|
|
185
|
-
}, {
|
|
186
|
-
content: 'Sub C',
|
|
187
|
-
scope: 'col'
|
|
188
|
-
}]
|
|
189
|
-
}],
|
|
190
|
-
body: defaultBody,
|
|
191
|
-
footer: defaultFooter
|
|
192
|
-
};
|
|
193
|
-
export const overflowTable = {
|
|
194
|
-
header: [{
|
|
195
|
-
cells: [{
|
|
196
|
-
content: 'A',
|
|
197
|
-
scope: 'col'
|
|
198
|
-
}, {
|
|
199
|
-
content: 'B',
|
|
200
|
-
scope: 'col'
|
|
201
|
-
}, {
|
|
202
|
-
content: 'C',
|
|
203
|
-
scope: 'col'
|
|
204
|
-
}, {
|
|
205
|
-
content: 'D',
|
|
206
|
-
scope: 'col'
|
|
207
|
-
}, {
|
|
208
|
-
content: 'E',
|
|
209
|
-
scope: 'col'
|
|
210
|
-
}, {
|
|
211
|
-
content: 'F',
|
|
212
|
-
scope: 'col'
|
|
213
|
-
}, {
|
|
214
|
-
link: {
|
|
215
|
-
text: 'G',
|
|
216
|
-
href: '#'
|
|
217
|
-
},
|
|
218
|
-
scope: 'col'
|
|
219
|
-
}]
|
|
220
|
-
}],
|
|
221
|
-
body: Array.from({
|
|
222
|
-
length: 20
|
|
223
|
-
}, (_, i) => ({
|
|
224
|
-
cells: [{
|
|
225
|
-
content: `Row ${i + 1}`,
|
|
226
|
-
headerCell: true,
|
|
227
|
-
scope: 'row'
|
|
228
|
-
}, {
|
|
229
|
-
content: `Data ${i + 1}-B`
|
|
230
|
-
}, {
|
|
231
|
-
content: `Data ${i + 1}-C`
|
|
232
|
-
}, {
|
|
233
|
-
content: `Data ${i + 1}-D`
|
|
234
|
-
}, {
|
|
235
|
-
content: `Data ${i + 1}-E`
|
|
236
|
-
}, {
|
|
237
|
-
content: `Data ${i + 1}-F`
|
|
238
|
-
}, {
|
|
239
|
-
link: {
|
|
240
|
-
text: `Data ${i + 1}-G`,
|
|
241
|
-
href: '#'
|
|
242
|
-
}
|
|
243
|
-
}]
|
|
244
|
-
})),
|
|
245
|
-
footer: [{
|
|
246
|
-
cells: [{
|
|
247
|
-
content: 'Footer 1',
|
|
248
|
-
headerCell: true,
|
|
249
|
-
scope: 'row'
|
|
250
|
-
}, {
|
|
251
|
-
link: {
|
|
252
|
-
text: 'Footer 2',
|
|
253
|
-
href: '#'
|
|
254
|
-
},
|
|
255
|
-
colSpan: 6
|
|
256
|
-
}]
|
|
257
|
-
}]
|
|
258
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export const DBTableRowSizeList = ['x-small', 'small', 'medium', 'large'];
|
|
2
|
-
export const DBTableVariantList = ['joined', 'zebra', 'floating'];
|
|
3
|
-
export const DBTableDividerList = ['none', 'both', 'horizontal', 'vertical'];
|
|
4
|
-
export const DBTableMobileVariantList = ['table', 'list'];
|
|
5
|
-
export const DBTableStickHeaderList = ['none', 'both', 'horizontal', 'vertical'];
|
|
6
|
-
export const DBTableColumnsSizeList = ['auto', '1fr', 'min-content', 'max-content'];
|