@casinogate/ui 1.10.9 → 1.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/css/root.css +160 -3
- package/dist/components/button/button.component.svelte +13 -18
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button/styles.d.ts +75 -222
- package/dist/components/button/styles.js +39 -91
- package/dist/components/button/types.d.ts +1 -5
- package/dist/components/dialog/styles.js +3 -3
- package/dist/components/drawer/components/drawer.close.svelte +23 -0
- package/dist/components/drawer/components/drawer.close.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.content.svelte +12 -0
- package/dist/components/drawer/components/drawer.content.svelte.d.ts +5 -0
- package/dist/components/drawer/components/drawer.description.svelte +11 -0
- package/dist/components/drawer/components/drawer.description.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.handle.svelte +10 -0
- package/dist/components/drawer/components/drawer.handle.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.overlay.svelte +10 -0
- package/dist/components/drawer/components/drawer.overlay.svelte.d.ts +5 -0
- package/dist/components/drawer/components/drawer.portal.svelte +10 -0
- package/dist/components/drawer/components/drawer.portal.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.root.svelte +15 -0
- package/dist/components/drawer/components/drawer.root.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.title.svelte +11 -0
- package/dist/components/drawer/components/drawer.title.svelte.d.ts +4 -0
- package/dist/components/drawer/components/drawer.trigger.svelte +27 -0
- package/dist/components/drawer/components/drawer.trigger.svelte.d.ts +5 -0
- package/dist/components/drawer/components/state.svelte.d.ts +4 -0
- package/dist/components/drawer/components/state.svelte.js +8 -0
- package/dist/components/drawer/exports-primitive.d.ts +9 -0
- package/dist/components/drawer/exports-primitive.js +9 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/drawer/styles.d.ts +214 -0
- package/dist/components/drawer/styles.js +38 -0
- package/dist/components/drawer/types.d.ts +11 -0
- package/dist/components/drawer/types.js +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/package.json +3 -2
|
@@ -1,110 +1,58 @@
|
|
|
1
1
|
import { tv } from '../../internal/utils/tailwindcss.js';
|
|
2
2
|
export const buttonVariants = tv({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
chevron: ['cgui:inline-flex cgui:items-center cgui:justify-center cgui:shrink-0'],
|
|
11
|
-
},
|
|
3
|
+
base: [
|
|
4
|
+
'cgui:flex cgui:items-center cgui:justify-center cgui:gap-1 cgui:cursor-pointer cgui:px-2 cgui:text-center cgui:overflow-hidden',
|
|
5
|
+
'cgui:transition-all cgui:duration-250 cgui:ease-in-out',
|
|
6
|
+
'cgui:select-none cgui:font-medium',
|
|
7
|
+
'cgui:disabled:cursor-not-allowed cgui:disabled:opacity-50',
|
|
8
|
+
'cgui:[&_svg]:shrink-0 cgui:[&_svg]:size-4.5',
|
|
9
|
+
],
|
|
12
10
|
variants: {
|
|
13
11
|
variant: {
|
|
14
|
-
primary:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
'cgui:active:text-primary-100',
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
link: {
|
|
32
|
-
root: [
|
|
33
|
-
'cgui:bg-transparent cgui:text-primary-80',
|
|
34
|
-
'cgui:hover:text-primary-60',
|
|
35
|
-
'cgui:active:text-primary-100',
|
|
36
|
-
'cgui:underline',
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
clean: {
|
|
40
|
-
root: [],
|
|
41
|
-
},
|
|
12
|
+
primary: ['cgui:bg-primary-80 cgui:text-fg-white', 'cgui:hover:bg-primary-60 ', ' cgui:active:bg-primary-100'],
|
|
13
|
+
outline: [
|
|
14
|
+
'cgui:bg-transparent cgui:text-primary-80 cgui:border cgui:border-stroke-primary',
|
|
15
|
+
'cgui:hover:text-primary-60 cgui:hover:border-stroke-primary-60',
|
|
16
|
+
'cgui:active:text-primary-100 cgui:active:border-stroke-primary-100',
|
|
17
|
+
],
|
|
18
|
+
ghost: ['cgui:bg-transparent cgui:text-primary-80', 'cgui:hover:text-primary-60', 'cgui:active:text-primary-100'],
|
|
19
|
+
link: [
|
|
20
|
+
'cgui:bg-transparent cgui:text-primary-80',
|
|
21
|
+
'cgui:hover:text-primary-60',
|
|
22
|
+
'cgui:active:text-primary-100',
|
|
23
|
+
'cgui:underline',
|
|
24
|
+
],
|
|
25
|
+
clean: [],
|
|
42
26
|
},
|
|
43
27
|
loading: {
|
|
44
|
-
true:
|
|
45
|
-
root: 'cgui:pointer-events-none cgui:opacity-50',
|
|
46
|
-
},
|
|
28
|
+
true: 'cgui:pointer-events-none cgui:opacity-50',
|
|
47
29
|
},
|
|
48
30
|
shadow: {
|
|
49
|
-
true:
|
|
50
|
-
root: 'cgui:shadow-btn',
|
|
51
|
-
},
|
|
31
|
+
true: 'cgui:shadow-btn',
|
|
52
32
|
},
|
|
53
33
|
size: {
|
|
54
|
-
xs:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
md: {
|
|
61
|
-
root: 'cgui:h-9 cgui:px-3 cgui:text-body',
|
|
62
|
-
},
|
|
63
|
-
lg: {
|
|
64
|
-
root: 'cgui:h-10.5 cgui:px-4 cgui:text-heading-2',
|
|
65
|
-
},
|
|
66
|
-
clean: {
|
|
67
|
-
root: '',
|
|
68
|
-
},
|
|
34
|
+
xs: 'cgui:h-7.5 cgui:px-2 cgui:text-body',
|
|
35
|
+
sm: 'cgui:h-8 cgui:px-2.5 cgui:text-body',
|
|
36
|
+
md: 'cgui:h-9 cgui:px-3 cgui:text-body',
|
|
37
|
+
lg: 'cgui:h-10.5 cgui:px-4 cgui:text-heading-2',
|
|
38
|
+
clean: '',
|
|
69
39
|
},
|
|
70
40
|
w: {
|
|
71
|
-
full:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
root: 'cgui:w-auto',
|
|
76
|
-
},
|
|
77
|
-
fit: {
|
|
78
|
-
root: 'cgui:w-fit',
|
|
79
|
-
},
|
|
80
|
-
clean: {
|
|
81
|
-
root: '',
|
|
82
|
-
},
|
|
41
|
+
full: 'cgui:w-full',
|
|
42
|
+
auto: 'cgui:w-auto',
|
|
43
|
+
fit: 'cgui:w-fit',
|
|
44
|
+
clean: '',
|
|
83
45
|
},
|
|
84
46
|
fullWidth: {
|
|
85
|
-
true:
|
|
86
|
-
root: 'cgui:w-full',
|
|
87
|
-
},
|
|
47
|
+
true: 'cgui:w-full',
|
|
88
48
|
},
|
|
89
49
|
rounded: {
|
|
90
|
-
sm:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
lg: {
|
|
97
|
-
root: 'cgui:rounded-lg',
|
|
98
|
-
},
|
|
99
|
-
xl: {
|
|
100
|
-
root: 'cgui:rounded-xl',
|
|
101
|
-
},
|
|
102
|
-
full: {
|
|
103
|
-
root: 'cgui:rounded-full',
|
|
104
|
-
},
|
|
105
|
-
clean: {
|
|
106
|
-
root: '',
|
|
107
|
-
},
|
|
50
|
+
sm: 'cgui:rounded-sm',
|
|
51
|
+
md: 'cgui:rounded-md',
|
|
52
|
+
lg: 'cgui:rounded-lg',
|
|
53
|
+
xl: 'cgui:rounded-xl',
|
|
54
|
+
full: 'cgui:rounded-full',
|
|
55
|
+
clean: '',
|
|
108
56
|
},
|
|
109
57
|
},
|
|
110
58
|
defaultVariants: {
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { ButtonVariantsProps } from './styles.js';
|
|
2
2
|
import { type ButtonRootProps } from 'bits-ui';
|
|
3
|
-
|
|
4
|
-
export type ButtonProps = ButtonRootProps & {
|
|
5
|
-
startChevron?: Snippet;
|
|
6
|
-
endChevron?: Snippet;
|
|
7
|
-
} & ButtonVariantsProps;
|
|
3
|
+
export type ButtonProps = ButtonRootProps & ButtonVariantsProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from '../../internal/utils/tailwindcss.js';
|
|
2
2
|
export const dialogPositionerStyles = tv({
|
|
3
3
|
base: [
|
|
4
|
-
'cgui:pointer-events-none cgui:fixed cgui:top-0 cgui:left-0 cgui:z-(--z-index-dialog) cgui:overflow-hidden',
|
|
4
|
+
'cgui:pointer-events-none cgui:fixed cgui:top-0 cgui:left-0 cgui:z-(--cg-ui-z-index-dialog) cgui:overflow-hidden',
|
|
5
5
|
'cgui:flex cgui:flex-col cgui:size-full',
|
|
6
6
|
],
|
|
7
7
|
variants: {
|
|
@@ -15,7 +15,7 @@ export const dialogPositionerStyles = tv({
|
|
|
15
15
|
});
|
|
16
16
|
export const dialogOverlayStyles = tv({
|
|
17
17
|
base: [
|
|
18
|
-
'cgui:pointer-events-none cgui:fixed cgui:top-0 cgui:left-0 cgui:z-(--z-index-dialog) cgui:overflow-hidden',
|
|
18
|
+
'cgui:pointer-events-none cgui:fixed cgui:top-0 cgui:left-0 cgui:z-(--cg-ui-z-index-dialog) cgui:overflow-hidden',
|
|
19
19
|
'cgui:size-full',
|
|
20
20
|
'cgui:bg-neutral-100/50',
|
|
21
21
|
'cgui:data-[state=open]:animate-in cgui:data-[state=closed]:animate-out cgui:data-[state=closed]:fade-out-0 cgui:data-[state=open]:fade-in-0',
|
|
@@ -23,7 +23,7 @@ export const dialogOverlayStyles = tv({
|
|
|
23
23
|
});
|
|
24
24
|
export const dialogContentStyles = tv({
|
|
25
25
|
base: [
|
|
26
|
-
'cgui:relative cgui:z-(--z-index-dialog) cgui:outline-none cgui:overflow-hidden',
|
|
26
|
+
'cgui:relative cgui:z-(--cg-ui-z-index-dialog) cgui:outline-none cgui:overflow-hidden',
|
|
27
27
|
'cgui:data-[state=open]:animate-in cgui:data-[state=open]:fade-in-0 cgui:data-[state=open]:slide-in-from-bottom-20',
|
|
28
28
|
'cgui:data-[state=closed]:animate-out cgui:data-[state=closed]:fade-out-0 cgui:data-[state=closed]:slide-out-to-bottom-20',
|
|
29
29
|
],
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Icon } from '../../icons/index.js';
|
|
3
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
4
|
+
import { Drawer } from 'vaul-svelte';
|
|
5
|
+
import type { DrawerCloseProps } from '../types.js';
|
|
6
|
+
|
|
7
|
+
let { class: className, children, ref = $bindable(null), ...restProps }: DrawerCloseProps = $props();
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<Drawer.Close
|
|
11
|
+
bind:ref
|
|
12
|
+
class={cn(
|
|
13
|
+
'cgui:flex cgui:cursor-pointer cgui:items-center cgui:justify-center cgui:text-icon-regular cgui:disabled:cursor-not-allowed cgui:disabled:opacity-50',
|
|
14
|
+
className
|
|
15
|
+
)}
|
|
16
|
+
{...restProps}
|
|
17
|
+
>
|
|
18
|
+
{#if children}
|
|
19
|
+
{@render children?.()}
|
|
20
|
+
{:else}
|
|
21
|
+
<Icon.Cross width={24} height={24} class="cgui:size-6" />
|
|
22
|
+
{/if}
|
|
23
|
+
</Drawer.Close>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import { drawerContentStyles } from '../styles.js';
|
|
5
|
+
import type { DrawerContentProps } from '../types.js';
|
|
6
|
+
|
|
7
|
+
let { children, class: className, variant = 'default', ...restProps }: DrawerContentProps = $props();
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<Drawer.Content class={cn(drawerContentStyles({ variant }), className)} {...restProps}>
|
|
11
|
+
{@render children?.()}
|
|
12
|
+
</Drawer.Content>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import type { DrawerDescriptionProps } from '../types.js';
|
|
5
|
+
|
|
6
|
+
let { class: className, children, ...restProps }: DrawerDescriptionProps = $props();
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<Drawer.Description class={cn('cgui:text-body cgui:text-fg-dark', className)} {...restProps}>
|
|
10
|
+
{@render children?.()}
|
|
11
|
+
</Drawer.Description>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import { drawerHandleStyles } from '../styles.js';
|
|
5
|
+
import type { DrawerHandleProps } from '../types.js';
|
|
6
|
+
|
|
7
|
+
let { class: className, ...restProps }: DrawerHandleProps = $props();
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<Drawer.Handle class={cn(drawerHandleStyles(), className)} {...restProps} />
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import { drawerOverlayStyles } from '../styles.js';
|
|
5
|
+
import type { DrawerOverlayProps } from '../types.js';
|
|
6
|
+
|
|
7
|
+
let { class: className, ...restProps }: DrawerOverlayProps = $props();
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<Drawer.Overlay class={cn(drawerOverlayStyles(), className)} {...restProps} />
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Drawer } from 'vaul-svelte';
|
|
3
|
+
import type { DrawerPortalProps } from '../types.js';
|
|
4
|
+
|
|
5
|
+
let { children, ...restProps }: DrawerPortalProps = $props();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<Drawer.Portal {...restProps}>
|
|
9
|
+
{@render children?.()}
|
|
10
|
+
</Drawer.Portal>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Drawer } from 'vaul-svelte';
|
|
3
|
+
import type { DrawerRootProps } from '../types.js';
|
|
4
|
+
|
|
5
|
+
let {
|
|
6
|
+
open = $bindable(false),
|
|
7
|
+
activeSnapPoint = $bindable(null),
|
|
8
|
+
children,
|
|
9
|
+
...restProps
|
|
10
|
+
}: DrawerRootProps = $props();
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<Drawer.Root bind:open bind:activeSnapPoint {...restProps}>
|
|
14
|
+
{@render children?.()}
|
|
15
|
+
</Drawer.Root>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import type { DrawerTitleProps } from '../types.js';
|
|
5
|
+
|
|
6
|
+
let { class: className, children, ...restProps }: DrawerTitleProps = $props();
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<Drawer.Title class={cn('cgui:text-heading cgui:font-semibold cgui:text-fg-darkest', className)} {...restProps}>
|
|
10
|
+
{@render children?.()}
|
|
11
|
+
</Drawer.Title>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from '../../../internal/utils/common.js';
|
|
3
|
+
import { Drawer } from 'vaul-svelte';
|
|
4
|
+
import { drawerTriggerProps } from '../styles.js';
|
|
5
|
+
import type { DrawerTriggerProps } from '../types.js';
|
|
6
|
+
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
ref = $bindable(null),
|
|
10
|
+
class: className,
|
|
11
|
+
variant = 'primary',
|
|
12
|
+
size = 'md',
|
|
13
|
+
rounded = 'md',
|
|
14
|
+
shadow = true,
|
|
15
|
+
w = 'full',
|
|
16
|
+
loading = false,
|
|
17
|
+
...restProps
|
|
18
|
+
}: DrawerTriggerProps = $props();
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<Drawer.Trigger
|
|
22
|
+
{...restProps}
|
|
23
|
+
bind:ref
|
|
24
|
+
class={cn(drawerTriggerProps({ variant, size, rounded, shadow, w, loading }), className)}
|
|
25
|
+
>
|
|
26
|
+
{@render children?.()}
|
|
27
|
+
</Drawer.Trigger>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Close } from './components/drawer.close.svelte';
|
|
2
|
+
export { default as Content } from './components/drawer.content.svelte';
|
|
3
|
+
export { default as Description } from './components/drawer.description.svelte';
|
|
4
|
+
export { default as Handle } from './components/drawer.handle.svelte';
|
|
5
|
+
export { default as Overlay } from './components/drawer.overlay.svelte';
|
|
6
|
+
export { default as Portal } from './components/drawer.portal.svelte';
|
|
7
|
+
export { default as Root } from './components/drawer.root.svelte';
|
|
8
|
+
export { default as Title } from './components/drawer.title.svelte';
|
|
9
|
+
export { default as Trigger } from './components/drawer.trigger.svelte';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as Close } from './components/drawer.close.svelte';
|
|
2
|
+
export { default as Content } from './components/drawer.content.svelte';
|
|
3
|
+
export { default as Description } from './components/drawer.description.svelte';
|
|
4
|
+
export { default as Handle } from './components/drawer.handle.svelte';
|
|
5
|
+
export { default as Overlay } from './components/drawer.overlay.svelte';
|
|
6
|
+
export { default as Portal } from './components/drawer.portal.svelte';
|
|
7
|
+
export { default as Root } from './components/drawer.root.svelte';
|
|
8
|
+
export { default as Title } from './components/drawer.title.svelte';
|
|
9
|
+
export { default as Trigger } from './components/drawer.trigger.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as DrawerPrimitive from './exports-primitive.js';
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import type { VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const drawerOverlayStyles: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
3
|
+
export declare const drawerContentStyles: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
default: string[];
|
|
6
|
+
clean: never[];
|
|
7
|
+
};
|
|
8
|
+
}, undefined, string[], {
|
|
9
|
+
variant: {
|
|
10
|
+
default: string[];
|
|
11
|
+
clean: never[];
|
|
12
|
+
};
|
|
13
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
14
|
+
variant: {
|
|
15
|
+
default: string[];
|
|
16
|
+
clean: never[];
|
|
17
|
+
};
|
|
18
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
19
|
+
export declare const drawerHandleStyles: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
20
|
+
export declare const drawerTriggerProps: import("tailwind-variants").TVReturnType<{} | {
|
|
21
|
+
variant: {
|
|
22
|
+
primary: import("tailwind-merge").ClassNameValue | {};
|
|
23
|
+
outline: import("tailwind-merge").ClassNameValue | {};
|
|
24
|
+
ghost: import("tailwind-merge").ClassNameValue | {};
|
|
25
|
+
link: import("tailwind-merge").ClassNameValue | {};
|
|
26
|
+
clean: import("tailwind-merge").ClassNameValue | {};
|
|
27
|
+
};
|
|
28
|
+
loading: {
|
|
29
|
+
true: import("tailwind-merge").ClassNameValue | {};
|
|
30
|
+
};
|
|
31
|
+
shadow: {
|
|
32
|
+
true: import("tailwind-merge").ClassNameValue | {};
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
xs: import("tailwind-merge").ClassNameValue | {};
|
|
36
|
+
sm: import("tailwind-merge").ClassNameValue | {};
|
|
37
|
+
md: import("tailwind-merge").ClassNameValue | {};
|
|
38
|
+
lg: import("tailwind-merge").ClassNameValue | {};
|
|
39
|
+
clean: import("tailwind-merge").ClassNameValue | {};
|
|
40
|
+
};
|
|
41
|
+
w: {
|
|
42
|
+
full: import("tailwind-merge").ClassNameValue | {};
|
|
43
|
+
auto: import("tailwind-merge").ClassNameValue | {};
|
|
44
|
+
fit: import("tailwind-merge").ClassNameValue | {};
|
|
45
|
+
clean: import("tailwind-merge").ClassNameValue | {};
|
|
46
|
+
};
|
|
47
|
+
fullWidth: {
|
|
48
|
+
true: import("tailwind-merge").ClassNameValue | {};
|
|
49
|
+
};
|
|
50
|
+
rounded: {
|
|
51
|
+
sm: import("tailwind-merge").ClassNameValue | {};
|
|
52
|
+
md: import("tailwind-merge").ClassNameValue | {};
|
|
53
|
+
lg: import("tailwind-merge").ClassNameValue | {};
|
|
54
|
+
xl: import("tailwind-merge").ClassNameValue | {};
|
|
55
|
+
full: import("tailwind-merge").ClassNameValue | {};
|
|
56
|
+
clean: import("tailwind-merge").ClassNameValue | {};
|
|
57
|
+
};
|
|
58
|
+
}, undefined, undefined, {
|
|
59
|
+
variant: {
|
|
60
|
+
primary: string[];
|
|
61
|
+
outline: string[];
|
|
62
|
+
ghost: string[];
|
|
63
|
+
link: string[];
|
|
64
|
+
clean: never[];
|
|
65
|
+
};
|
|
66
|
+
loading: {
|
|
67
|
+
true: string;
|
|
68
|
+
};
|
|
69
|
+
shadow: {
|
|
70
|
+
true: string;
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
xs: string;
|
|
74
|
+
sm: string;
|
|
75
|
+
md: string;
|
|
76
|
+
lg: string;
|
|
77
|
+
clean: string;
|
|
78
|
+
};
|
|
79
|
+
w: {
|
|
80
|
+
full: string;
|
|
81
|
+
auto: string;
|
|
82
|
+
fit: string;
|
|
83
|
+
clean: string;
|
|
84
|
+
};
|
|
85
|
+
fullWidth: {
|
|
86
|
+
true: string;
|
|
87
|
+
};
|
|
88
|
+
rounded: {
|
|
89
|
+
sm: string;
|
|
90
|
+
md: string;
|
|
91
|
+
lg: string;
|
|
92
|
+
xl: string;
|
|
93
|
+
full: string;
|
|
94
|
+
clean: string;
|
|
95
|
+
};
|
|
96
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
97
|
+
variant: {
|
|
98
|
+
primary: string[];
|
|
99
|
+
outline: string[];
|
|
100
|
+
ghost: string[];
|
|
101
|
+
link: string[];
|
|
102
|
+
clean: never[];
|
|
103
|
+
};
|
|
104
|
+
loading: {
|
|
105
|
+
true: string;
|
|
106
|
+
};
|
|
107
|
+
shadow: {
|
|
108
|
+
true: string;
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
xs: string;
|
|
112
|
+
sm: string;
|
|
113
|
+
md: string;
|
|
114
|
+
lg: string;
|
|
115
|
+
clean: string;
|
|
116
|
+
};
|
|
117
|
+
w: {
|
|
118
|
+
full: string;
|
|
119
|
+
auto: string;
|
|
120
|
+
fit: string;
|
|
121
|
+
clean: string;
|
|
122
|
+
};
|
|
123
|
+
fullWidth: {
|
|
124
|
+
true: string;
|
|
125
|
+
};
|
|
126
|
+
rounded: {
|
|
127
|
+
sm: string;
|
|
128
|
+
md: string;
|
|
129
|
+
lg: string;
|
|
130
|
+
xl: string;
|
|
131
|
+
full: string;
|
|
132
|
+
clean: string;
|
|
133
|
+
};
|
|
134
|
+
}, undefined, string[], {
|
|
135
|
+
variant: {
|
|
136
|
+
primary: string[];
|
|
137
|
+
outline: string[];
|
|
138
|
+
ghost: string[];
|
|
139
|
+
link: string[];
|
|
140
|
+
clean: never[];
|
|
141
|
+
};
|
|
142
|
+
loading: {
|
|
143
|
+
true: string;
|
|
144
|
+
};
|
|
145
|
+
shadow: {
|
|
146
|
+
true: string;
|
|
147
|
+
};
|
|
148
|
+
size: {
|
|
149
|
+
xs: string;
|
|
150
|
+
sm: string;
|
|
151
|
+
md: string;
|
|
152
|
+
lg: string;
|
|
153
|
+
clean: string;
|
|
154
|
+
};
|
|
155
|
+
w: {
|
|
156
|
+
full: string;
|
|
157
|
+
auto: string;
|
|
158
|
+
fit: string;
|
|
159
|
+
clean: string;
|
|
160
|
+
};
|
|
161
|
+
fullWidth: {
|
|
162
|
+
true: string;
|
|
163
|
+
};
|
|
164
|
+
rounded: {
|
|
165
|
+
sm: string;
|
|
166
|
+
md: string;
|
|
167
|
+
lg: string;
|
|
168
|
+
xl: string;
|
|
169
|
+
full: string;
|
|
170
|
+
clean: string;
|
|
171
|
+
};
|
|
172
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
173
|
+
variant: {
|
|
174
|
+
primary: string[];
|
|
175
|
+
outline: string[];
|
|
176
|
+
ghost: string[];
|
|
177
|
+
link: string[];
|
|
178
|
+
clean: never[];
|
|
179
|
+
};
|
|
180
|
+
loading: {
|
|
181
|
+
true: string;
|
|
182
|
+
};
|
|
183
|
+
shadow: {
|
|
184
|
+
true: string;
|
|
185
|
+
};
|
|
186
|
+
size: {
|
|
187
|
+
xs: string;
|
|
188
|
+
sm: string;
|
|
189
|
+
md: string;
|
|
190
|
+
lg: string;
|
|
191
|
+
clean: string;
|
|
192
|
+
};
|
|
193
|
+
w: {
|
|
194
|
+
full: string;
|
|
195
|
+
auto: string;
|
|
196
|
+
fit: string;
|
|
197
|
+
clean: string;
|
|
198
|
+
};
|
|
199
|
+
fullWidth: {
|
|
200
|
+
true: string;
|
|
201
|
+
};
|
|
202
|
+
rounded: {
|
|
203
|
+
sm: string;
|
|
204
|
+
md: string;
|
|
205
|
+
lg: string;
|
|
206
|
+
xl: string;
|
|
207
|
+
full: string;
|
|
208
|
+
clean: string;
|
|
209
|
+
};
|
|
210
|
+
}, undefined, string[], unknown, unknown, undefined>>>;
|
|
211
|
+
export type DrawerOverlayVariants = VariantProps<typeof drawerOverlayStyles>;
|
|
212
|
+
export type DrawerContentVariants = VariantProps<typeof drawerContentStyles>;
|
|
213
|
+
export type DrawerHandleVariants = VariantProps<typeof drawerHandleStyles>;
|
|
214
|
+
export type DrawerTriggerVariants = VariantProps<typeof drawerTriggerProps>;
|