Vuetify Version: 2.2.3
Vue Version: 2.6.11
Browsers: Chrome 80.0.3987.42
OS: Windows 10
table-row-divider area.According to the docs, pre-defined types should match their non-pre-defined type equivalents.
They do not match, as table-tbody != table-row-divider@6 in the repro.
https://codepen.io/185driver/pen/xxbzxJL
That they don't match becomes an issue if one wishes to use a different number of table-rows, or if the use of the dark theme is desired. Without the helper formatting of table-tbody, the css doesn't work as expected.
This is not the only pre-defined type to be unmatched to it's parts:
table-heading != heading, text
table-thead != heading@6
table-row-divider != table-row, divider
table-row != table-cell@6
table-cell != text
table-tfoot != text@2, avatar@2
So some of the table- types have sugar added, but others do not.
Related to #9194, but this issue relates to table types.
If you wanted to use a different number of table rows, you could simply override the type you want to use. For example, if you wanted to use a table with 3 rows instead of the default of 6, you could use:
<v-skeleton-loader
loading
type="table"
:types="{ 'table-tbody': 'table-row-divider@3' }"
/>
This allows for the proper wrapping to happen while changing the underlying base types.
Most helpful comment
If you wanted to use a different number of table rows, you could simply override the type you want to use. For example, if you wanted to use a table with 3 rows instead of the default of 6, you could use:
This allows for the proper wrapping to happen while changing the underlying base types.