Skip to content

Commit d6124b3

Browse files
committed
chore: generate tailwindcss-classnames types
1 parent 140b9ca commit d6124b3

File tree

1 file changed

+125
-3
lines changed

1 file changed

+125
-3
lines changed

src/index.ts

Lines changed: 125 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3715,7 +3715,114 @@ export type TBorderCollapse = 'border-collapse' | 'border-separate';
37153715

37163716
export type TTableLayout = 'table-auto' | 'table-fixed';
37173717

3718-
export type TTables = TBorderCollapse | TTableLayout;
3718+
export type TBorderSpacing =
3719+
| 'border-spacing-0'
3720+
| 'border-spacing-1'
3721+
| 'border-spacing-2'
3722+
| 'border-spacing-3'
3723+
| 'border-spacing-4'
3724+
| 'border-spacing-5'
3725+
| 'border-spacing-6'
3726+
| 'border-spacing-7'
3727+
| 'border-spacing-8'
3728+
| 'border-spacing-9'
3729+
| 'border-spacing-10'
3730+
| 'border-spacing-11'
3731+
| 'border-spacing-12'
3732+
| 'border-spacing-14'
3733+
| 'border-spacing-16'
3734+
| 'border-spacing-20'
3735+
| 'border-spacing-24'
3736+
| 'border-spacing-28'
3737+
| 'border-spacing-32'
3738+
| 'border-spacing-36'
3739+
| 'border-spacing-40'
3740+
| 'border-spacing-44'
3741+
| 'border-spacing-48'
3742+
| 'border-spacing-52'
3743+
| 'border-spacing-56'
3744+
| 'border-spacing-60'
3745+
| 'border-spacing-64'
3746+
| 'border-spacing-72'
3747+
| 'border-spacing-80'
3748+
| 'border-spacing-96'
3749+
| 'border-spacing-px'
3750+
| 'border-spacing-0.5'
3751+
| 'border-spacing-1.5'
3752+
| 'border-spacing-2.5'
3753+
| 'border-spacing-3.5'
3754+
| 'border-spacing-x-0'
3755+
| 'border-spacing-x-1'
3756+
| 'border-spacing-x-2'
3757+
| 'border-spacing-x-3'
3758+
| 'border-spacing-x-4'
3759+
| 'border-spacing-x-5'
3760+
| 'border-spacing-x-6'
3761+
| 'border-spacing-x-7'
3762+
| 'border-spacing-x-8'
3763+
| 'border-spacing-x-9'
3764+
| 'border-spacing-x-10'
3765+
| 'border-spacing-x-11'
3766+
| 'border-spacing-x-12'
3767+
| 'border-spacing-x-14'
3768+
| 'border-spacing-x-16'
3769+
| 'border-spacing-x-20'
3770+
| 'border-spacing-x-24'
3771+
| 'border-spacing-x-28'
3772+
| 'border-spacing-x-32'
3773+
| 'border-spacing-x-36'
3774+
| 'border-spacing-x-40'
3775+
| 'border-spacing-x-44'
3776+
| 'border-spacing-x-48'
3777+
| 'border-spacing-x-52'
3778+
| 'border-spacing-x-56'
3779+
| 'border-spacing-x-60'
3780+
| 'border-spacing-x-64'
3781+
| 'border-spacing-x-72'
3782+
| 'border-spacing-x-80'
3783+
| 'border-spacing-x-96'
3784+
| 'border-spacing-x-px'
3785+
| 'border-spacing-x-0.5'
3786+
| 'border-spacing-x-1.5'
3787+
| 'border-spacing-x-2.5'
3788+
| 'border-spacing-x-3.5'
3789+
| 'border-spacing-y-0'
3790+
| 'border-spacing-y-1'
3791+
| 'border-spacing-y-2'
3792+
| 'border-spacing-y-3'
3793+
| 'border-spacing-y-4'
3794+
| 'border-spacing-y-5'
3795+
| 'border-spacing-y-6'
3796+
| 'border-spacing-y-7'
3797+
| 'border-spacing-y-8'
3798+
| 'border-spacing-y-9'
3799+
| 'border-spacing-y-10'
3800+
| 'border-spacing-y-11'
3801+
| 'border-spacing-y-12'
3802+
| 'border-spacing-y-14'
3803+
| 'border-spacing-y-16'
3804+
| 'border-spacing-y-20'
3805+
| 'border-spacing-y-24'
3806+
| 'border-spacing-y-28'
3807+
| 'border-spacing-y-32'
3808+
| 'border-spacing-y-36'
3809+
| 'border-spacing-y-40'
3810+
| 'border-spacing-y-44'
3811+
| 'border-spacing-y-48'
3812+
| 'border-spacing-y-52'
3813+
| 'border-spacing-y-56'
3814+
| 'border-spacing-y-60'
3815+
| 'border-spacing-y-64'
3816+
| 'border-spacing-y-72'
3817+
| 'border-spacing-y-80'
3818+
| 'border-spacing-y-96'
3819+
| 'border-spacing-y-px'
3820+
| 'border-spacing-y-0.5'
3821+
| 'border-spacing-y-1.5'
3822+
| 'border-spacing-y-2.5'
3823+
| 'border-spacing-y-3.5';
3824+
3825+
export type TTables = TBorderCollapse | TTableLayout | TBorderSpacing;
37193826

37203827
export type TMixBlendMode =
37213828
| 'mix-blend-normal'
@@ -3733,7 +3840,8 @@ export type TMixBlendMode =
37333840
| 'mix-blend-hue'
37343841
| 'mix-blend-saturation'
37353842
| 'mix-blend-color'
3736-
| 'mix-blend-luminosity';
3843+
| 'mix-blend-luminosity'
3844+
| 'mix-blend-plus-lighter';
37373845

37383846
export type TBackgroundBlendMode =
37393847
| 'bg-blend-normal'
@@ -4400,6 +4508,7 @@ export type TFlexBox =
44004508
export type TGridAutoFlow =
44014509
| 'grid-flow-row'
44024510
| 'grid-flow-col'
4511+
| 'grid-flow-dense'
44034512
| 'grid-flow-row-dense'
44044513
| 'grid-flow-col-dense';
44054514

@@ -7171,7 +7280,13 @@ export type TFontVariantNumeric =
71717280

71727281
export type TListStylePosition = 'list-inside' | 'list-outside';
71737282

7174-
export type TTextAlign = 'text-left' | 'text-center' | 'text-right' | 'text-justify';
7283+
export type TTextAlign =
7284+
| 'text-left'
7285+
| 'text-center'
7286+
| 'text-right'
7287+
| 'text-justify'
7288+
| 'text-start'
7289+
| 'text-end';
71757290

71767291
export type TTextDecoration = 'underline' | 'line-through' | 'no-underline';
71777292

@@ -8077,6 +8192,10 @@ export type TPseudoClassVariants =
80778192
| 'focus-visible:'
80788193
| 'active:'
80798194
| 'disabled:'
8195+
| 'enabled:'
8196+
| 'backdrop:'
8197+
| 'contrast-more:'
8198+
| 'contrast-less:'
80808199
| 'only:'
80818200
| 'first-of-type:'
80828201
| 'last-of-type:'
@@ -8086,6 +8205,7 @@ export type TPseudoClassVariants =
80868205
| 'indeterminate:'
80878206
| 'placeholder-shown:'
80888207
| 'autofill:'
8208+
| 'optional:'
80898209
| 'required:'
80908210
| 'valid:'
80918211
| 'invalid:'
@@ -8178,6 +8298,7 @@ export const outlineColor: TUtilityFunction<TOutlineColor> = classnamesLib as an
81788298

81798299
export const borderCollapse: TUtilityFunction<TBorderCollapse> = classnamesLib as any;
81808300
export const tableLayout: TUtilityFunction<TTableLayout> = classnamesLib as any;
8301+
export const borderSpacing: TUtilityFunction<TBorderSpacing> = classnamesLib as any;
81818302

81828303
//////////// Effects Utility functions
81838304

@@ -8459,6 +8580,7 @@ export const TW = {
84598580
outlineColor,
84608581
borderCollapse,
84618582
tableLayout,
8583+
borderSpacing,
84628584
mixBlendMode,
84638585
backgroundBlendMode,
84648586
boxShadow,

0 commit comments

Comments
 (0)