Skip to content

Commit

Permalink
Add new collapse utility for visibility: collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Oct 19, 2022
1 parent b0bf08e commit 7d3dc50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/default-config.ts
Expand Up @@ -278,7 +278,7 @@ export function getDefaultConfig() {
* Visibility
* @see https://tailwindcss.com/docs/visibility
*/
visibility: ['visible', 'invisible'],
visibility: ['visible', 'invisible', 'collapse'],
/**
* Z-Index
* @see https://tailwindcss.com/docs/z-index
Expand Down
1 change: 1 addition & 0 deletions tests/class-map.test.ts
Expand Up @@ -79,6 +79,7 @@ test('class map has correct class groups at first part', () => {
caret: ['caret-color'],
clear: ['clear'],
col: ['col-end', 'col-start', 'col-start-end'],
collapse: ['visibility'],
columns: ['columns'],
container: ['container'],
content: ['align-content', 'content'],
Expand Down

0 comments on commit 7d3dc50

Please sign in to comment.