@digo-labs/ui 0.1.7
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/animation/motion-animate-presence.d.ts +15 -0
- package/dist/blocks/auth-guard.d.ts +7 -0
- package/dist/blocks/card.d.ts +20 -0
- package/dist/blocks/chat-thread.d.ts +15 -0
- package/dist/blocks/command-button.d.ts +9 -0
- package/dist/blocks/copy-paste-button.d.ts +9 -0
- package/dist/blocks/dropzone.d.ts +23 -0
- package/dist/blocks/font-picker.d.ts +8 -0
- package/dist/blocks/google-signin-button.d.ts +8 -0
- package/dist/blocks/image-dropzone.d.ts +11 -0
- package/dist/blocks/navbar.d.ts +9 -0
- package/dist/blocks/palette-picker.d.ts +9 -0
- package/dist/blocks/parameter-color-swatch-picker.d.ts +9 -0
- package/dist/blocks/parameter-color.d.ts +10 -0
- package/dist/blocks/parameter-combobox.d.ts +18 -0
- package/dist/blocks/parameter-files.d.ts +9 -0
- package/dist/blocks/parameter-font-picker.d.ts +9 -0
- package/dist/blocks/parameter-image.d.ts +9 -0
- package/dist/blocks/parameter-number.d.ts +10 -0
- package/dist/blocks/parameter-palette-picker.d.ts +10 -0
- package/dist/blocks/parameter-preset-picker.d.ts +10 -0
- package/dist/blocks/parameter-select.d.ts +17 -0
- package/dist/blocks/parameter-shadow-group.d.ts +16 -0
- package/dist/blocks/parameter-slider.d.ts +10 -0
- package/dist/blocks/parameter-switch.d.ts +9 -0
- package/dist/blocks/parameter-text-area.d.ts +9 -0
- package/dist/blocks/parameter-text.d.ts +9 -0
- package/dist/blocks/parameter-toggle-group.d.ts +18 -0
- package/dist/blocks/parameter-toggle.d.ts +11 -0
- package/dist/blocks/parameter-typography-group.d.ts +16 -0
- package/dist/blocks/placeholder.d.ts +13 -0
- package/dist/blocks/preset-picker.d.ts +9 -0
- package/dist/blocks/prompt-input.d.ts +43 -0
- package/dist/blocks/switch-theme.d.ts +7 -0
- package/dist/blocks/toggle-theme.d.ts +3 -0
- package/dist/blocks/transparent-background.d.ts +6 -0
- package/dist/components/accordion.d.ts +9 -0
- package/dist/components/alert.d.ts +11 -0
- package/dist/components/autocomplete.d.ts +31 -0
- package/dist/components/button.d.ts +6 -0
- package/dist/components/chart.d.ts +43 -0
- package/dist/components/checkbox.d.ts +6 -0
- package/dist/components/code-block.d.ts +16 -0
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/color-area.d.ts +7 -0
- package/dist/components/color-field.d.ts +7 -0
- package/dist/components/color-input.d.ts +11 -0
- package/dist/components/color-picker.d.ts +18 -0
- package/dist/components/color-slider.d.ts +11 -0
- package/dist/components/color-swatch-picker.d.ts +9 -0
- package/dist/components/color-swatch.d.ts +8 -0
- package/dist/components/combobox.d.ts +44 -0
- package/dist/components/command.d.ts +24 -0
- package/dist/components/drawer.d.ts +23 -0
- package/dist/components/empty.d.ts +18 -0
- package/dist/components/field-set.d.ts +7 -0
- package/dist/components/field.d.ts +12 -0
- package/dist/components/form.d.ts +6 -0
- package/dist/components/group.d.ts +12 -0
- package/dist/components/icon.d.ts +7 -0
- package/dist/components/image.d.ts +9 -0
- package/dist/components/input-group.d.ts +15 -0
- package/dist/components/input.d.ts +8 -0
- package/dist/components/kbd.d.ts +7 -0
- package/dist/components/label.d.ts +6 -0
- package/dist/components/loader.d.ts +12 -0
- package/dist/components/masonry.d.ts +8 -0
- package/dist/components/navigation-menu.d.ts +14 -0
- package/dist/components/number-field.d.ts +10 -0
- package/dist/components/pagination.d.ts +16 -0
- package/dist/components/parameter-group.d.ts +12 -0
- package/dist/components/parameter.d.ts +21 -0
- package/dist/components/popover.d.ts +11 -0
- package/dist/components/progress.d.ts +10 -0
- package/dist/components/reorder-list.d.ts +1 -0
- package/dist/components/scroll-area.d.ts +10 -0
- package/dist/components/select.d.ts +23 -0
- package/dist/components/separator.d.ts +6 -0
- package/dist/components/sidebar.d.ts +21 -0
- package/dist/components/slider.d.ts +17 -0
- package/dist/components/spacer.d.ts +6 -0
- package/dist/components/spinner.d.ts +12 -0
- package/dist/components/switch.d.ts +10 -0
- package/dist/components/table-of-contents.d.ts +22 -0
- package/dist/components/tabs.d.ts +9 -0
- package/dist/components/text-area.d.ts +9 -0
- package/dist/components/tint-image.d.ts +7 -0
- package/dist/components/toast.d.ts +9 -0
- package/dist/components/toggle-group.d.ts +10 -0
- package/dist/components/toggle.d.ts +6 -0
- package/dist/components/tooltip.d.ts +21 -0
- package/dist/cursors/cursor-bracket.d.ts +11 -0
- package/dist/cursors/cursor-clipping.d.ts +9 -0
- package/dist/cursors/cursor-container.d.ts +18 -0
- package/dist/effects/border-glow.d.ts +23 -0
- package/dist/effects/border-trail.d.ts +10 -0
- package/dist/effects/counter.d.ts +14 -0
- package/dist/effects/cube-scene.d.ts +11 -0
- package/dist/effects/dark-veil.d.ts +12 -0
- package/dist/effects/dissolve-overlay.d.ts +15 -0
- package/dist/effects/dot-grid.d.ts +19 -0
- package/dist/effects/draggable-container.d.ts +10 -0
- package/dist/effects/faulty-terminal.d.ts +25 -0
- package/dist/effects/floating-lines.d.ts +25 -0
- package/dist/effects/glass-container.d.ts +13 -0
- package/dist/effects/grainient.d.ts +28 -0
- package/dist/effects/image-transition.d.ts +24 -0
- package/dist/effects/infinite-menu.d.ts +19 -0
- package/dist/effects/iridescence.d.ts +12 -0
- package/dist/effects/letter-swap.d.ts +8 -0
- package/dist/effects/marquee-bar.d.ts +6 -0
- package/dist/effects/marquee.d.ts +26 -0
- package/dist/effects/noise.d.ts +10 -0
- package/dist/effects/orb.d.ts +15 -0
- package/dist/effects/text-morph.d.ts +14 -0
- package/dist/effects/text-pressure.d.ts +13 -0
- package/dist/effects/text-roll.d.ts +22 -0
- package/dist/effects/text-scramble.d.ts +16 -0
- package/dist/effects/text-shimmer-wave.d.ts +16 -0
- package/dist/effects/text-shimmer.d.ts +13 -0
- package/dist/effects/text-swap-letter.d.ts +6 -0
- package/dist/effects/text-type.d.ts +27 -0
- package/dist/hooks/use-animated-value.d.ts +1 -0
- package/dist/hooks/use-element-size.d.ts +5 -0
- package/dist/hooks/use-focus-size.d.ts +1 -0
- package/dist/hooks/use-fullscreen.d.ts +1 -0
- package/dist/hooks/use-preloaded-image.d.ts +1 -0
- package/dist/hooks/use-stopwatch.d.ts +9 -0
- package/dist/hooks/use-timer.d.ts +15 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +141 -0
- package/dist/index.js +13654 -0
- package/dist/index.js.map +1 -0
- package/dist/other/animations.d.ts +7 -0
- package/dist/other/image-transition-effects.d.ts +3 -0
- package/dist/outdated/lottie.d.ts +8 -0
- package/dist/outdated/qr-code.d.ts +8 -0
- package/dist/outdated/shape.d.ts +11 -0
- package/dist/outdated/tint.d.ts +6 -0
- package/dist/presets/curated/default.d.ts +2 -0
- package/dist/presets/curated/index.d.ts +3 -0
- package/dist/presets/curated/ocean.d.ts +2 -0
- package/dist/presets/curated/retro-futuristic.d.ts +2 -0
- package/dist/presets/helpers.d.ts +4 -0
- package/dist/presets/index.d.ts +6 -0
- package/dist/presets/palettes.d.ts +2 -0
- package/dist/presets/types.d.ts +40 -0
- package/dist/providers/command-provider.d.ts +11 -0
- package/dist/providers/component-styles-provider.d.ts +20 -0
- package/dist/providers/design-system-provider.d.ts +27 -0
- package/dist/styles/accordion.d.ts +85 -0
- package/dist/styles/alert.d.ts +253 -0
- package/dist/styles/autocomplete.d.ts +141 -0
- package/dist/styles/button.d.ts +238 -0
- package/dist/styles/card.d.ts +61 -0
- package/dist/styles/chart.d.ts +109 -0
- package/dist/styles/chat-thread.d.ts +117 -0
- package/dist/styles/checkbox.d.ts +45 -0
- package/dist/styles/code-block.d.ts +69 -0
- package/dist/styles/collapsible.d.ts +69 -0
- package/dist/styles/color-area.d.ts +45 -0
- package/dist/styles/color-field.d.ts +45 -0
- package/dist/styles/color-input.d.ts +85 -0
- package/dist/styles/color-picker.d.ts +101 -0
- package/dist/styles/color-slider.d.ts +79 -0
- package/dist/styles/color-swatch-picker.d.ts +69 -0
- package/dist/styles/color-swatch.d.ts +53 -0
- package/dist/styles/combobox.d.ts +197 -0
- package/dist/styles/command-button.d.ts +45 -0
- package/dist/styles/command.d.ts +125 -0
- package/dist/styles/counter.d.ts +85 -0
- package/dist/styles/drawer.d.ts +192 -0
- package/dist/styles/dropzone.d.ts +125 -0
- package/dist/styles/empty.d.ts +101 -0
- package/dist/styles/field-set.d.ts +45 -0
- package/dist/styles/field.d.ts +69 -0
- package/dist/styles/font-picker.d.ts +117 -0
- package/dist/styles/form.d.ts +37 -0
- package/dist/styles/google-signin-button.d.ts +61 -0
- package/dist/styles/group.d.ts +83 -0
- package/dist/styles/image-dropzone.d.ts +101 -0
- package/dist/styles/image.d.ts +53 -0
- package/dist/styles/index.d.ts +86 -0
- package/dist/styles/input-group.d.ts +61 -0
- package/dist/styles/input.d.ts +126 -0
- package/dist/styles/kbd.d.ts +45 -0
- package/dist/styles/label.d.ts +37 -0
- package/dist/styles/masonry.d.ts +45 -0
- package/dist/styles/motion-animate-presence.d.ts +45 -0
- package/dist/styles/navbar.d.ts +61 -0
- package/dist/styles/navigation-menu.d.ts +133 -0
- package/dist/styles/number-field.d.ts +69 -0
- package/dist/styles/pagination.d.ts +77 -0
- package/dist/styles/palette-picker.d.ts +101 -0
- package/dist/styles/parameter-color-swatch-picker.d.ts +69 -0
- package/dist/styles/parameter-color.d.ts +69 -0
- package/dist/styles/parameter-combobox.d.ts +133 -0
- package/dist/styles/parameter-files.d.ts +69 -0
- package/dist/styles/parameter-font-picker.d.ts +69 -0
- package/dist/styles/parameter-group.d.ts +77 -0
- package/dist/styles/parameter-image.d.ts +69 -0
- package/dist/styles/parameter-number.d.ts +69 -0
- package/dist/styles/parameter-palette-picker.d.ts +69 -0
- package/dist/styles/parameter-preset-picker.d.ts +69 -0
- package/dist/styles/parameter-select.d.ts +85 -0
- package/dist/styles/parameter-shadow-group.d.ts +53 -0
- package/dist/styles/parameter-slider.d.ts +77 -0
- package/dist/styles/parameter-switch.d.ts +69 -0
- package/dist/styles/parameter-text-area.d.ts +69 -0
- package/dist/styles/parameter-text.d.ts +69 -0
- package/dist/styles/parameter-toggle-group.d.ts +77 -0
- package/dist/styles/parameter-toggle.d.ts +69 -0
- package/dist/styles/parameter-typography-group.d.ts +45 -0
- package/dist/styles/parameter.d.ts +85 -0
- package/dist/styles/placeholder.d.ts +69 -0
- package/dist/styles/popover.d.ts +77 -0
- package/dist/styles/preset-picker.d.ts +109 -0
- package/dist/styles/progress.d.ts +69 -0
- package/dist/styles/prompt-input.d.ts +141 -0
- package/dist/styles/properties.d.ts +101 -0
- package/dist/styles/scroll-area.d.ts +61 -0
- package/dist/styles/select.d.ts +157 -0
- package/dist/styles/separator.d.ts +70 -0
- package/dist/styles/sidebar.d.ts +109 -0
- package/dist/styles/slider.d.ts +167 -0
- package/dist/styles/spacer.d.ts +37 -0
- package/dist/styles/spinner.d.ts +56 -0
- package/dist/styles/switch.d.ts +94 -0
- package/dist/styles/table-of-contents.d.ts +85 -0
- package/dist/styles/tabs.d.ts +166 -0
- package/dist/styles/text-area.d.ts +168 -0
- package/dist/styles/text-shimmer.d.ts +37 -0
- package/dist/styles/tint-image.d.ts +45 -0
- package/dist/styles/toast.d.ts +352 -0
- package/dist/styles/toggle-group.d.ts +136 -0
- package/dist/styles/toggle.d.ts +91 -0
- package/dist/styles/tooltip.d.ts +61 -0
- package/dist/utils/code-meta-parser.d.ts +6 -0
- package/dist/utils/helpers.d.ts +2 -0
- package/dist/utils/motion-presets.d.ts +125 -0
- package/dist/utils/shiki-highlighter.d.ts +10 -0
- package/dist/utils/styles.d.ts +4 -0
- package/package.json +69 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ImageTransitionType } from '..';
|
|
2
|
+
export type ImageTransitionEffect = (current: HTMLDivElement, currentInner: HTMLDivElement, next: HTMLDivElement, nextInner: HTMLDivElement) => gsap.core.Timeline;
|
|
3
|
+
export declare const animationEffects: Record<ImageTransitionType, ImageTransitionEffect>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { default as LottieUI } from 'lottie-react';
|
|
3
|
+
interface LottieProperties extends ComponentPropsWithoutRef<typeof LottieUI> {
|
|
4
|
+
tint?: string;
|
|
5
|
+
containerClasses?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function Lottie(properties: LottieProperties): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface QRCodeProperties extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
data: string;
|
|
4
|
+
foreground?: string;
|
|
5
|
+
background?: string;
|
|
6
|
+
robustness?: 'L' | 'M' | 'Q' | 'H';
|
|
7
|
+
}
|
|
8
|
+
export declare function QRCode(properties: QRCodeProperties): import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ShapeType = 'triangle' | 'square' | 'circle' | 'star';
|
|
2
|
+
interface Properties {
|
|
3
|
+
type: ShapeType;
|
|
4
|
+
fill?: string;
|
|
5
|
+
stroke?: string;
|
|
6
|
+
strokeWidthPercent?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function Shape(properties: Properties): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PALETTES } from './palettes';
|
|
2
|
+
import { Styles } from '../providers/design-system-provider';
|
|
3
|
+
export type Mode = 'dark' | 'light';
|
|
4
|
+
export type PaletteName = keyof typeof PALETTES;
|
|
5
|
+
export type ColorStep = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
6
|
+
export type ColorScale = Record<ColorStep, string>;
|
|
7
|
+
export type ColorVariant = 'light' | 'lightA' | 'dark' | 'darkA';
|
|
8
|
+
export type Palette = Record<ColorVariant, ColorScale>;
|
|
9
|
+
export type Palettes = Record<string, Palette>;
|
|
10
|
+
export interface TypographyProperties {
|
|
11
|
+
font: string;
|
|
12
|
+
weight: string;
|
|
13
|
+
tracking: string;
|
|
14
|
+
leading: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ShadowProperties {
|
|
17
|
+
color: PaletteName;
|
|
18
|
+
offsetX: number;
|
|
19
|
+
offsetY: number;
|
|
20
|
+
blur: number;
|
|
21
|
+
spread: number;
|
|
22
|
+
opacity: number;
|
|
23
|
+
}
|
|
24
|
+
export type ShadowStep = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
25
|
+
export declare const SHADOW_STEPS: ShadowStep[];
|
|
26
|
+
export type ColorRole = 'neutral' | 'accent' | 'error' | 'success' | 'warning' | 'info';
|
|
27
|
+
export declare const COLOR_ROLES: ColorRole[];
|
|
28
|
+
export type TypographyRole = 'header' | 'label' | 'body' | 'code';
|
|
29
|
+
export declare const TYPOGRAPHY_ROLES: TypographyRole[];
|
|
30
|
+
export interface ThemePreset {
|
|
31
|
+
name: string;
|
|
32
|
+
colors: Record<ColorRole, PaletteName>;
|
|
33
|
+
shadows: Record<ShadowStep, ShadowProperties>;
|
|
34
|
+
typography: Record<TypographyRole, TypographyProperties>;
|
|
35
|
+
radius: string;
|
|
36
|
+
spacingFactor: number;
|
|
37
|
+
typographyScaleFactor: number;
|
|
38
|
+
custom?: Record<string, string>;
|
|
39
|
+
overrides?: Partial<Styles>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface CommandContextType {
|
|
3
|
+
open: () => void;
|
|
4
|
+
}
|
|
5
|
+
interface CommandProviderProperties {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
open: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function CommandProvider(properties: CommandProviderProperties): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function useCommand(): CommandContextType;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { Styles } from './design-system-provider';
|
|
4
|
+
type StyleKey = keyof Styles;
|
|
5
|
+
type ReturnOf<T> = T extends (...args: any[]) => infer R ? R : never;
|
|
6
|
+
type SlotNames<T> = keyof ReturnOf<T> & string;
|
|
7
|
+
type ResolvedSlots<T> = Record<SlotNames<T>, string>;
|
|
8
|
+
type SlotsClassNames<T extends (...args: any[]) => any> = Partial<Record<SlotNames<T>, string>>;
|
|
9
|
+
export type ComponentStylesProps<K extends StyleKey> = VariantProps<Styles[K]> & {
|
|
10
|
+
classNames?: SlotsClassNames<Styles[K]>;
|
|
11
|
+
};
|
|
12
|
+
export declare function createComponentStyles<K extends StyleKey>(styleKey: K): {
|
|
13
|
+
ComponentStylesProvider: (props: VariantProps<typeof import("../styles")[K]> & {
|
|
14
|
+
classNames?: Partial<Record<SlotNames<typeof import("../styles")[K]>, string>>;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
useComponentStyles: () => ResolvedSlots<typeof import("../styles")[K]>;
|
|
18
|
+
useComponentVariants: () => VariantProps<typeof import("../styles")[K]>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { baseStyles } from '..';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { ColorRole, Mode, PaletteName, ShadowProperties, ShadowStep, ThemePreset, TypographyProperties, TypographyRole } from '../presets/types';
|
|
4
|
+
export type Styles = typeof baseStyles;
|
|
5
|
+
type PartialStyles = Partial<Styles>;
|
|
6
|
+
interface DesignSystemContextType {
|
|
7
|
+
mode: Mode;
|
|
8
|
+
toggleMode: () => void;
|
|
9
|
+
setMode: (mode: Mode) => void;
|
|
10
|
+
preset: ThemePreset;
|
|
11
|
+
setPreset: (preset: ThemePreset) => void;
|
|
12
|
+
updatePreset: (partial: Partial<ThemePreset>) => void;
|
|
13
|
+
setRolePalette: (role: ColorRole, palette: PaletteName) => void;
|
|
14
|
+
updateTypography: (role: TypographyRole, partial: Partial<TypographyProperties>) => void;
|
|
15
|
+
updateShadow: (step: ShadowStep, partial: Partial<ShadowProperties>) => void;
|
|
16
|
+
updateComponentOverrides: (component: string, overrides: Record<string, string>) => void;
|
|
17
|
+
}
|
|
18
|
+
interface DesignSystemProviderProps {
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
preset: ThemePreset;
|
|
21
|
+
defaultMode?: Mode;
|
|
22
|
+
overrides?: PartialStyles;
|
|
23
|
+
}
|
|
24
|
+
export declare function DesignSystemProvider(properties: DesignSystemProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function useDesignSystem(): DesignSystemContextType;
|
|
26
|
+
export declare function useStyles(): Styles;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare const accordion: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
4
|
+
root?: import('tailwind-variants').ClassValue;
|
|
5
|
+
item?: import('tailwind-variants').ClassValue;
|
|
6
|
+
header?: import('tailwind-variants').ClassValue;
|
|
7
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
8
|
+
triggerIcon?: import('tailwind-variants').ClassValue;
|
|
9
|
+
panel?: import('tailwind-variants').ClassValue;
|
|
10
|
+
content?: import('tailwind-variants').ClassValue;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
[x: string]: {
|
|
15
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
16
|
+
root?: import('tailwind-variants').ClassValue;
|
|
17
|
+
item?: import('tailwind-variants').ClassValue;
|
|
18
|
+
header?: import('tailwind-variants').ClassValue;
|
|
19
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
20
|
+
triggerIcon?: import('tailwind-variants').ClassValue;
|
|
21
|
+
panel?: import('tailwind-variants').ClassValue;
|
|
22
|
+
content?: import('tailwind-variants').ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, {
|
|
26
|
+
root: string;
|
|
27
|
+
item: string;
|
|
28
|
+
header: string;
|
|
29
|
+
trigger: string;
|
|
30
|
+
triggerIcon: string;
|
|
31
|
+
panel: string;
|
|
32
|
+
content: string;
|
|
33
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<unknown, {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
36
|
+
root?: import('tailwind-variants').ClassValue;
|
|
37
|
+
item?: import('tailwind-variants').ClassValue;
|
|
38
|
+
header?: import('tailwind-variants').ClassValue;
|
|
39
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
40
|
+
triggerIcon?: import('tailwind-variants').ClassValue;
|
|
41
|
+
panel?: import('tailwind-variants').ClassValue;
|
|
42
|
+
content?: import('tailwind-variants').ClassValue;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
} | {}>, {
|
|
46
|
+
[key: string]: {
|
|
47
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
48
|
+
root?: import('tailwind-variants').ClassValue;
|
|
49
|
+
item?: import('tailwind-variants').ClassValue;
|
|
50
|
+
header?: import('tailwind-variants').ClassValue;
|
|
51
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
52
|
+
triggerIcon?: import('tailwind-variants').ClassValue;
|
|
53
|
+
panel?: import('tailwind-variants').ClassValue;
|
|
54
|
+
content?: import('tailwind-variants').ClassValue;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
} | {}, {
|
|
58
|
+
root: string;
|
|
59
|
+
item: string;
|
|
60
|
+
header: string;
|
|
61
|
+
trigger: string;
|
|
62
|
+
triggerIcon: string;
|
|
63
|
+
panel: string;
|
|
64
|
+
content: string;
|
|
65
|
+
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
66
|
+
root: string;
|
|
67
|
+
item: string;
|
|
68
|
+
header: string;
|
|
69
|
+
trigger: string;
|
|
70
|
+
triggerIcon: string;
|
|
71
|
+
panel: string;
|
|
72
|
+
content: string;
|
|
73
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<unknown, {
|
|
74
|
+
[key: string]: {
|
|
75
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
76
|
+
root?: import('tailwind-variants').ClassValue;
|
|
77
|
+
item?: import('tailwind-variants').ClassValue;
|
|
78
|
+
header?: import('tailwind-variants').ClassValue;
|
|
79
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
80
|
+
triggerIcon?: import('tailwind-variants').ClassValue;
|
|
81
|
+
panel?: import('tailwind-variants').ClassValue;
|
|
82
|
+
content?: import('tailwind-variants').ClassValue;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
export declare const alert: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
root: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
};
|
|
9
|
+
destructive: {
|
|
10
|
+
root: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
};
|
|
15
|
+
success: {
|
|
16
|
+
root: string;
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
icon: string;
|
|
20
|
+
};
|
|
21
|
+
warning: {
|
|
22
|
+
root: string;
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
};
|
|
27
|
+
info: {
|
|
28
|
+
root: string;
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
root: string;
|
|
36
|
+
content: string;
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
action: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<{
|
|
42
|
+
variant: {
|
|
43
|
+
default: {
|
|
44
|
+
root: string;
|
|
45
|
+
title: string;
|
|
46
|
+
description: string;
|
|
47
|
+
icon: string;
|
|
48
|
+
};
|
|
49
|
+
destructive: {
|
|
50
|
+
root: string;
|
|
51
|
+
title: string;
|
|
52
|
+
description: string;
|
|
53
|
+
icon: string;
|
|
54
|
+
};
|
|
55
|
+
success: {
|
|
56
|
+
root: string;
|
|
57
|
+
title: string;
|
|
58
|
+
description: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
};
|
|
61
|
+
warning: {
|
|
62
|
+
root: string;
|
|
63
|
+
title: string;
|
|
64
|
+
description: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
};
|
|
67
|
+
info: {
|
|
68
|
+
root: string;
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
icon: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
variant: {
|
|
76
|
+
default: {
|
|
77
|
+
root: string;
|
|
78
|
+
title: string;
|
|
79
|
+
description: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
};
|
|
82
|
+
destructive: {
|
|
83
|
+
root: string;
|
|
84
|
+
title: string;
|
|
85
|
+
description: string;
|
|
86
|
+
icon: string;
|
|
87
|
+
};
|
|
88
|
+
success: {
|
|
89
|
+
root: string;
|
|
90
|
+
title: string;
|
|
91
|
+
description: string;
|
|
92
|
+
icon: string;
|
|
93
|
+
};
|
|
94
|
+
warning: {
|
|
95
|
+
root: string;
|
|
96
|
+
title: string;
|
|
97
|
+
description: string;
|
|
98
|
+
icon: string;
|
|
99
|
+
};
|
|
100
|
+
info: {
|
|
101
|
+
root: string;
|
|
102
|
+
title: string;
|
|
103
|
+
description: string;
|
|
104
|
+
icon: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}>, {
|
|
108
|
+
variant: {
|
|
109
|
+
default: {
|
|
110
|
+
root: string;
|
|
111
|
+
title: string;
|
|
112
|
+
description: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
};
|
|
115
|
+
destructive: {
|
|
116
|
+
root: string;
|
|
117
|
+
title: string;
|
|
118
|
+
description: string;
|
|
119
|
+
icon: string;
|
|
120
|
+
};
|
|
121
|
+
success: {
|
|
122
|
+
root: string;
|
|
123
|
+
title: string;
|
|
124
|
+
description: string;
|
|
125
|
+
icon: string;
|
|
126
|
+
};
|
|
127
|
+
warning: {
|
|
128
|
+
root: string;
|
|
129
|
+
title: string;
|
|
130
|
+
description: string;
|
|
131
|
+
icon: string;
|
|
132
|
+
};
|
|
133
|
+
info: {
|
|
134
|
+
root: string;
|
|
135
|
+
title: string;
|
|
136
|
+
description: string;
|
|
137
|
+
icon: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}, {
|
|
141
|
+
root: string;
|
|
142
|
+
content: string;
|
|
143
|
+
title: string;
|
|
144
|
+
description: string;
|
|
145
|
+
action: string;
|
|
146
|
+
icon: string;
|
|
147
|
+
}, import('tailwind-variants').TVReturnType<{
|
|
148
|
+
variant: {
|
|
149
|
+
default: {
|
|
150
|
+
root: string;
|
|
151
|
+
title: string;
|
|
152
|
+
description: string;
|
|
153
|
+
icon: string;
|
|
154
|
+
};
|
|
155
|
+
destructive: {
|
|
156
|
+
root: string;
|
|
157
|
+
title: string;
|
|
158
|
+
description: string;
|
|
159
|
+
icon: string;
|
|
160
|
+
};
|
|
161
|
+
success: {
|
|
162
|
+
root: string;
|
|
163
|
+
title: string;
|
|
164
|
+
description: string;
|
|
165
|
+
icon: string;
|
|
166
|
+
};
|
|
167
|
+
warning: {
|
|
168
|
+
root: string;
|
|
169
|
+
title: string;
|
|
170
|
+
description: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
};
|
|
173
|
+
info: {
|
|
174
|
+
root: string;
|
|
175
|
+
title: string;
|
|
176
|
+
description: string;
|
|
177
|
+
icon: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
root: string;
|
|
182
|
+
content: string;
|
|
183
|
+
title: string;
|
|
184
|
+
description: string;
|
|
185
|
+
action: string;
|
|
186
|
+
icon: string;
|
|
187
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<{
|
|
188
|
+
variant: {
|
|
189
|
+
default: {
|
|
190
|
+
root: string;
|
|
191
|
+
title: string;
|
|
192
|
+
description: string;
|
|
193
|
+
icon: string;
|
|
194
|
+
};
|
|
195
|
+
destructive: {
|
|
196
|
+
root: string;
|
|
197
|
+
title: string;
|
|
198
|
+
description: string;
|
|
199
|
+
icon: string;
|
|
200
|
+
};
|
|
201
|
+
success: {
|
|
202
|
+
root: string;
|
|
203
|
+
title: string;
|
|
204
|
+
description: string;
|
|
205
|
+
icon: string;
|
|
206
|
+
};
|
|
207
|
+
warning: {
|
|
208
|
+
root: string;
|
|
209
|
+
title: string;
|
|
210
|
+
description: string;
|
|
211
|
+
icon: string;
|
|
212
|
+
};
|
|
213
|
+
info: {
|
|
214
|
+
root: string;
|
|
215
|
+
title: string;
|
|
216
|
+
description: string;
|
|
217
|
+
icon: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
}, {
|
|
221
|
+
variant: {
|
|
222
|
+
default: {
|
|
223
|
+
root: string;
|
|
224
|
+
title: string;
|
|
225
|
+
description: string;
|
|
226
|
+
icon: string;
|
|
227
|
+
};
|
|
228
|
+
destructive: {
|
|
229
|
+
root: string;
|
|
230
|
+
title: string;
|
|
231
|
+
description: string;
|
|
232
|
+
icon: string;
|
|
233
|
+
};
|
|
234
|
+
success: {
|
|
235
|
+
root: string;
|
|
236
|
+
title: string;
|
|
237
|
+
description: string;
|
|
238
|
+
icon: string;
|
|
239
|
+
};
|
|
240
|
+
warning: {
|
|
241
|
+
root: string;
|
|
242
|
+
title: string;
|
|
243
|
+
description: string;
|
|
244
|
+
icon: string;
|
|
245
|
+
};
|
|
246
|
+
info: {
|
|
247
|
+
root: string;
|
|
248
|
+
title: string;
|
|
249
|
+
description: string;
|
|
250
|
+
icon: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export declare const autocomplete: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
4
|
+
item?: import('tailwind-variants').ClassValue;
|
|
5
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
6
|
+
positioner?: import('tailwind-variants').ClassValue;
|
|
7
|
+
popupInner?: import('tailwind-variants').ClassValue;
|
|
8
|
+
input?: import('tailwind-variants').ClassValue;
|
|
9
|
+
separator?: import('tailwind-variants').ClassValue;
|
|
10
|
+
group?: import('tailwind-variants').ClassValue;
|
|
11
|
+
groupLabel?: import('tailwind-variants').ClassValue;
|
|
12
|
+
empty?: import('tailwind-variants').ClassValue;
|
|
13
|
+
list?: import('tailwind-variants').ClassValue;
|
|
14
|
+
clear?: import('tailwind-variants').ClassValue;
|
|
15
|
+
status?: import('tailwind-variants').ClassValue;
|
|
16
|
+
statusLoading?: import('tailwind-variants').ClassValue;
|
|
17
|
+
popup?: import('tailwind-variants').ClassValue;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
[x: string]: {
|
|
22
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
23
|
+
item?: import('tailwind-variants').ClassValue;
|
|
24
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
25
|
+
positioner?: import('tailwind-variants').ClassValue;
|
|
26
|
+
popupInner?: import('tailwind-variants').ClassValue;
|
|
27
|
+
input?: import('tailwind-variants').ClassValue;
|
|
28
|
+
separator?: import('tailwind-variants').ClassValue;
|
|
29
|
+
group?: import('tailwind-variants').ClassValue;
|
|
30
|
+
groupLabel?: import('tailwind-variants').ClassValue;
|
|
31
|
+
empty?: import('tailwind-variants').ClassValue;
|
|
32
|
+
list?: import('tailwind-variants').ClassValue;
|
|
33
|
+
clear?: import('tailwind-variants').ClassValue;
|
|
34
|
+
status?: import('tailwind-variants').ClassValue;
|
|
35
|
+
statusLoading?: import('tailwind-variants').ClassValue;
|
|
36
|
+
popup?: import('tailwind-variants').ClassValue;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} | {}, {
|
|
40
|
+
positioner: string;
|
|
41
|
+
popup: string[];
|
|
42
|
+
popupInner: string;
|
|
43
|
+
input: string;
|
|
44
|
+
item: string[];
|
|
45
|
+
separator: string;
|
|
46
|
+
group: string;
|
|
47
|
+
groupLabel: string;
|
|
48
|
+
empty: string;
|
|
49
|
+
list: string;
|
|
50
|
+
clear: string;
|
|
51
|
+
status: string;
|
|
52
|
+
trigger: string;
|
|
53
|
+
statusLoading: string;
|
|
54
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<unknown, {
|
|
55
|
+
[key: string]: {
|
|
56
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
57
|
+
item?: import('tailwind-variants').ClassValue;
|
|
58
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
59
|
+
positioner?: import('tailwind-variants').ClassValue;
|
|
60
|
+
popupInner?: import('tailwind-variants').ClassValue;
|
|
61
|
+
input?: import('tailwind-variants').ClassValue;
|
|
62
|
+
separator?: import('tailwind-variants').ClassValue;
|
|
63
|
+
group?: import('tailwind-variants').ClassValue;
|
|
64
|
+
groupLabel?: import('tailwind-variants').ClassValue;
|
|
65
|
+
empty?: import('tailwind-variants').ClassValue;
|
|
66
|
+
list?: import('tailwind-variants').ClassValue;
|
|
67
|
+
clear?: import('tailwind-variants').ClassValue;
|
|
68
|
+
status?: import('tailwind-variants').ClassValue;
|
|
69
|
+
statusLoading?: import('tailwind-variants').ClassValue;
|
|
70
|
+
popup?: import('tailwind-variants').ClassValue;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
} | {}>, {
|
|
74
|
+
[key: string]: {
|
|
75
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
76
|
+
item?: import('tailwind-variants').ClassValue;
|
|
77
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
78
|
+
positioner?: import('tailwind-variants').ClassValue;
|
|
79
|
+
popupInner?: import('tailwind-variants').ClassValue;
|
|
80
|
+
input?: import('tailwind-variants').ClassValue;
|
|
81
|
+
separator?: import('tailwind-variants').ClassValue;
|
|
82
|
+
group?: import('tailwind-variants').ClassValue;
|
|
83
|
+
groupLabel?: import('tailwind-variants').ClassValue;
|
|
84
|
+
empty?: import('tailwind-variants').ClassValue;
|
|
85
|
+
list?: import('tailwind-variants').ClassValue;
|
|
86
|
+
clear?: import('tailwind-variants').ClassValue;
|
|
87
|
+
status?: import('tailwind-variants').ClassValue;
|
|
88
|
+
statusLoading?: import('tailwind-variants').ClassValue;
|
|
89
|
+
popup?: import('tailwind-variants').ClassValue;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
} | {}, {
|
|
93
|
+
positioner: string;
|
|
94
|
+
popup: string[];
|
|
95
|
+
popupInner: string;
|
|
96
|
+
input: string;
|
|
97
|
+
item: string[];
|
|
98
|
+
separator: string;
|
|
99
|
+
group: string;
|
|
100
|
+
groupLabel: string;
|
|
101
|
+
empty: string;
|
|
102
|
+
list: string;
|
|
103
|
+
clear: string;
|
|
104
|
+
status: string;
|
|
105
|
+
trigger: string;
|
|
106
|
+
statusLoading: string;
|
|
107
|
+
}, import('tailwind-variants').TVReturnType<unknown, {
|
|
108
|
+
positioner: string;
|
|
109
|
+
popup: string[];
|
|
110
|
+
popupInner: string;
|
|
111
|
+
input: string;
|
|
112
|
+
item: string[];
|
|
113
|
+
separator: string;
|
|
114
|
+
group: string;
|
|
115
|
+
groupLabel: string;
|
|
116
|
+
empty: string;
|
|
117
|
+
list: string;
|
|
118
|
+
clear: string;
|
|
119
|
+
status: string;
|
|
120
|
+
trigger: string;
|
|
121
|
+
statusLoading: string;
|
|
122
|
+
}, undefined, import('tailwind-variants/dist/config.js').TVConfig<unknown, {
|
|
123
|
+
[key: string]: {
|
|
124
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
125
|
+
item?: import('tailwind-variants').ClassValue;
|
|
126
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
127
|
+
positioner?: import('tailwind-variants').ClassValue;
|
|
128
|
+
popupInner?: import('tailwind-variants').ClassValue;
|
|
129
|
+
input?: import('tailwind-variants').ClassValue;
|
|
130
|
+
separator?: import('tailwind-variants').ClassValue;
|
|
131
|
+
group?: import('tailwind-variants').ClassValue;
|
|
132
|
+
groupLabel?: import('tailwind-variants').ClassValue;
|
|
133
|
+
empty?: import('tailwind-variants').ClassValue;
|
|
134
|
+
list?: import('tailwind-variants').ClassValue;
|
|
135
|
+
clear?: import('tailwind-variants').ClassValue;
|
|
136
|
+
status?: import('tailwind-variants').ClassValue;
|
|
137
|
+
statusLoading?: import('tailwind-variants').ClassValue;
|
|
138
|
+
popup?: import('tailwind-variants').ClassValue;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} | {}>, unknown, unknown, undefined>>;
|