Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for display : inline-table, list-item utilities #203

Merged
merged 1 commit into from
Apr 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/cli/lib/non-configurable/layout.ts
Expand Up @@ -9,9 +9,11 @@ const display = [
'grid',
'inline-grid',
'table',
'inline-table',
'table-row',
'table-cell',
'contents',
'list-item',
'hidden',
];

Expand Down
12 changes: 12 additions & 0 deletions src/index.ts
Expand Up @@ -2525,9 +2525,11 @@ export type TDisplay =
| 'grid'
| 'inline-grid'
| 'table'
| 'inline-table'
| 'table-row'
| 'table-cell'
| 'contents'
| 'list-item'
| 'hidden';

export type TBoxDecorationBreak = 'decoration-slice' | 'decoration-clone';
Expand Down Expand Up @@ -7277,6 +7279,11 @@ export type TPseudoClasses =
| 'lg:table'
| 'xl:table'
| '2xl:table'
| 'sm:inline-table'
| 'md:inline-table'
| 'lg:inline-table'
| 'xl:inline-table'
| '2xl:inline-table'
| 'sm:table-row'
| 'md:table-row'
| 'lg:table-row'
Expand All @@ -7292,6 +7299,11 @@ export type TPseudoClasses =
| 'lg:contents'
| 'xl:contents'
| '2xl:contents'
| 'sm:list-item'
| 'md:list-item'
| 'lg:list-item'
| 'xl:list-item'
| '2xl:list-item'
| 'sm:hidden'
| 'md:hidden'
| 'lg:hidden'
Expand Down