@gmana/core
Advanced tools
Comparing version 1.5.5 to 1.5.6
1448
dist/index.d.ts
@@ -0,4 +1,1446 @@ | ||
import * as tailwind_variants from 'tailwind-variants'; | ||
import { VariantProps } from 'tailwind-variants'; | ||
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config'; | ||
import * as tailwindcss_types_config from 'tailwindcss/types/config'; | ||
import { Config } from 'tailwindcss'; | ||
declare const accordionVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "[&>*:not(:last-child)]:border-b", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "[&>*:not(:last-child)]:border-b", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const accordionItemVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "border-gmana", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "border-gmana", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const accordionTriggerVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const accordionTriggerIconVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "size-4 shrink-0 text-slate-500 transition-transform duration-200 dark:text-slate-400", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "size-4 shrink-0 text-slate-500 transition-transform duration-200 dark:text-slate-400", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const accordionContentVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const accordionContentInnerVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "pb-4 pt-0", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "pb-4 pt-0", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
type AccordionVariantProps = VariantProps<typeof accordionVariants>; | ||
declare const alertVariants: tailwind_variants.TVReturnType<{ | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}, undefined, "relative w-full rounded-gmana border border-slate-200 px-4 py-3 text-sm dark:border-slate-800 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-slate-950 dark:[&>svg]:text-slate-50 [&>svg~*]:pl-7", tailwind_variants_dist_config.TVConfig<{ | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}, { | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}>, { | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}, undefined, "relative w-full rounded-gmana border border-slate-200 px-4 py-3 text-sm dark:border-slate-800 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-slate-950 dark:[&>svg]:text-slate-50 [&>svg~*]:pl-7", tailwind_variants_dist_config.TVConfig<{ | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}, { | ||
color: { | ||
default: string; | ||
danger: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
declare const alertTitleVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "mb-1 font-medium leading-none tracking-tight", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "mb-1 font-medium leading-none tracking-tight", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
declare const alertDescriptionVariants: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "text-sm [&_p]:leading-relaxed", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "text-sm [&_p]:leading-relaxed", tailwind_variants_dist_config.TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>; | ||
/** | ||
* Alert variants | ||
* | ||
* @example | ||
* interface AlertProps extends AlertVariantsProps { | ||
* className?: string; | ||
* } | ||
*/ | ||
type AlertVariantProps = VariantProps<typeof alertVariants>; | ||
/** | ||
* Basic building block with padding, rounded corners, and shadow variants | ||
*/ | ||
declare const boxVariants: tailwind_variants.TVReturnType<{ | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}, undefined, "block", tailwind_variants_dist_config.TVConfig<{ | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}, { | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}>, { | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}, undefined, "block", tailwind_variants_dist_config.TVConfig<{ | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}, { | ||
p: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
full: string; | ||
}; | ||
shadow: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
type BoxVariantProps = VariantProps<typeof boxVariants>; | ||
declare const buttonVariants: tailwind_variants.TVReturnType<{ | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{ | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}, { | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}>, { | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{ | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}, { | ||
color: { | ||
default: string; | ||
gmana: string; | ||
primary: string; | ||
secondary: string; | ||
success: string; | ||
info: string; | ||
warning: string; | ||
danger: string; | ||
pending: string; | ||
}; | ||
variant: { | ||
default: string; | ||
outline: string; | ||
text: string; | ||
soft: string; | ||
link: string; | ||
}; | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
icon: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
/** | ||
* Button variants | ||
* | ||
* @example | ||
* interface ButtonProps extends ButtonVariants { | ||
* children: React.ReactNode; | ||
* } | ||
* | ||
* export const Button = (props: ButtonProps) => { | ||
* return <button className={button(props)}>{props.children}</button>; | ||
* }; | ||
*/ | ||
type ButtonVariantProps = VariantProps<typeof buttonVariants>; | ||
/** | ||
* | ||
* Responsive container with different max-width sizes and centering options | ||
*/ | ||
declare const containerVariants: tailwind_variants.TVReturnType<{ | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}, undefined, "mx-auto w-full px-4", tailwind_variants_dist_config.TVConfig<{ | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}, { | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}>, { | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}, undefined, "mx-auto w-full px-4", tailwind_variants_dist_config.TVConfig<{ | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}, { | ||
size: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
full: string; | ||
}; | ||
center: { | ||
true: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
type ContainerVariantProps = VariantProps<typeof containerVariants>; | ||
/** | ||
* Flexible container with direction, alignment, justification, wrap, and gap controls | ||
*/ | ||
declare const flexVariants: tailwind_variants.TVReturnType<{ | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}, undefined, "flex", tailwind_variants_dist_config.TVConfig<{ | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}, { | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}>, { | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}, undefined, "flex", tailwind_variants_dist_config.TVConfig<{ | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}, { | ||
direction: { | ||
row: string; | ||
column: string; | ||
"row-reverse": string; | ||
"column-reverse": string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
baseline: string; | ||
stretch: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
stretch: string; | ||
}; | ||
wrap: { | ||
wrap: string; | ||
"no-wrap": string; | ||
"wrap-reverse": string; | ||
}; | ||
grow: { | ||
grow: string; | ||
"no-grow": string; | ||
}; | ||
gap: { | ||
none: string; | ||
xs: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
"4xl": string; | ||
"5xl": string; | ||
gmana: string; | ||
}; | ||
rounded: { | ||
none: string; | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
"2xl": string; | ||
"3xl": string; | ||
full: string; | ||
gmana: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
type FlexVariantProps = VariantProps<typeof flexVariants>; | ||
/** | ||
* Grid layout with columns, gap, flow, alignment, and justification options | ||
*/ | ||
declare const gridVariants: tailwind_variants.TVReturnType<{ | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}, undefined, "grid", tailwind_variants_dist_config.TVConfig<{ | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}, { | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}>, { | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}, undefined, "grid", tailwind_variants_dist_config.TVConfig<{ | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}, { | ||
cols: { | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
12: string; | ||
}; | ||
gap: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
}; | ||
flow: { | ||
row: string; | ||
col: string; | ||
dense: string; | ||
rowDense: string; | ||
colDense: string; | ||
}; | ||
align: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
stretch: string; | ||
baseline: string; | ||
}; | ||
justify: { | ||
start: string; | ||
center: string; | ||
end: string; | ||
between: string; | ||
around: string; | ||
evenly: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
type GridVariantProps = VariantProps<typeof gridVariants>; | ||
/** | ||
* Full-width section component with padding and background variants | ||
*/ | ||
declare const sectionVariants: tailwind_variants.TVReturnType<{ | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}, undefined, "w-full", tailwind_variants_dist_config.TVConfig<{ | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}, { | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}>, { | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}, undefined, tailwind_variants.TVReturnType<{ | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}, undefined, "w-full", tailwind_variants_dist_config.TVConfig<{ | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}, { | ||
py: { | ||
0: string; | ||
1: string; | ||
2: string; | ||
3: string; | ||
4: string; | ||
5: string; | ||
6: string; | ||
8: string; | ||
12: string; | ||
16: string; | ||
20: string; | ||
}; | ||
bg: { | ||
white: string; | ||
gray: string; | ||
primary: string; | ||
secondary: string; | ||
}; | ||
}>, unknown, unknown, undefined>>; | ||
type SectionVariantProps = VariantProps<typeof sectionVariants>; | ||
declare const animatePlugin: { | ||
@@ -25,4 +1467,2 @@ handler: tailwindcss_types_config.PluginCreator; | ||
declare const gmanaPreset: Omit<Config, "content">; | ||
declare const neonShadowPlugin: { | ||
@@ -43,2 +1483,4 @@ handler: tailwindcss_types_config.PluginCreator; | ||
declare const gmanaPreset: Omit<Config, "content">; | ||
/** | ||
@@ -53,2 +1495,2 @@ * Extends the provided Tailwind CSS configuration with the necessary settings and plugins for the GMANA library. | ||
export { animatePlugin, bgGridPlugin, gmanaPlugin, gmanaPreset, neonShadowPlugin, scrollbarPlugin, typographyPlugin, withGMana }; | ||
export { type AccordionVariantProps, type AlertVariantProps, type BoxVariantProps, type ButtonVariantProps, type ContainerVariantProps, type FlexVariantProps, type GridVariantProps, type SectionVariantProps, accordionContentInnerVariants, accordionContentVariants, accordionItemVariants, accordionTriggerIconVariants, accordionTriggerVariants, accordionVariants, alertDescriptionVariants, alertTitleVariants, alertVariants, animatePlugin, bgGridPlugin, boxVariants, buttonVariants, containerVariants, flexVariants, gmanaPlugin, gmanaPreset, gridVariants, neonShadowPlugin, scrollbarPlugin, sectionVariants, typographyPlugin, withGMana }; |
{ | ||
"name": "@gmana/core", | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "nextjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
249839
2171
1