@digo-labs/ui 0.1.10 → 0.1.13
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/README.md +11 -0
- package/dist/animation/motion-animate-presence.d.ts +1 -1
- package/dist/blocks/auth-guard.d.ts +1 -1
- package/dist/blocks/card.d.ts +4 -4
- package/dist/blocks/chat-thread.d.ts +1 -1
- package/dist/blocks/command-button.d.ts +1 -1
- package/dist/blocks/copy-paste-button.d.ts +1 -1
- package/dist/blocks/dropzone.d.ts +5 -5
- package/dist/blocks/font-picker.d.ts +1 -1
- package/dist/blocks/google-signin-button.d.ts +1 -1
- package/dist/blocks/image-dropzone.d.ts +1 -1
- package/dist/blocks/navbar.d.ts +4 -4
- package/dist/blocks/palette-picker.d.ts +1 -1
- package/dist/blocks/parameter-color-swatch-picker.d.ts +1 -1
- package/dist/blocks/parameter-color.d.ts +1 -1
- package/dist/blocks/parameter-combobox.d.ts +1 -1
- package/dist/blocks/parameter-files.d.ts +1 -1
- package/dist/blocks/parameter-font-picker.d.ts +1 -1
- package/dist/blocks/parameter-image.d.ts +1 -1
- package/dist/blocks/parameter-number.d.ts +1 -1
- package/dist/blocks/parameter-palette-picker.d.ts +1 -1
- package/dist/blocks/parameter-preset-picker.d.ts +1 -1
- package/dist/blocks/parameter-select.d.ts +1 -1
- package/dist/blocks/parameter-shadow-group.d.ts +1 -1
- package/dist/blocks/parameter-slider.d.ts +1 -1
- package/dist/blocks/parameter-switch.d.ts +1 -1
- package/dist/blocks/parameter-text-area.d.ts +1 -1
- package/dist/blocks/parameter-text.d.ts +1 -1
- package/dist/blocks/parameter-toggle-group.d.ts +1 -1
- package/dist/blocks/parameter-toggle.d.ts +1 -1
- package/dist/blocks/parameter-typography-group.d.ts +1 -1
- package/dist/blocks/placeholder.d.ts +4 -4
- package/dist/blocks/preset-picker.d.ts +1 -1
- package/dist/blocks/prompt-input.d.ts +7 -7
- package/dist/blocks/switch-theme.d.ts +1 -1
- package/dist/blocks/toggle-theme.d.ts +1 -1
- package/dist/blocks/transparent-background.d.ts +1 -1
- package/dist/components/accordion.d.ts +4 -4
- package/dist/components/alert.d.ts +6 -6
- package/dist/components/autocomplete.d.ts +15 -15
- package/dist/components/button.d.ts +1 -1
- package/dist/components/chart.d.ts +10 -10
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/code-block.d.ts +6 -5
- package/dist/components/collapsible.d.ts +4 -4
- package/dist/components/color-area.d.ts +1 -1
- package/dist/components/color-field.d.ts +1 -1
- package/dist/components/color-input.d.ts +1 -1
- package/dist/components/color-picker.d.ts +1 -1
- package/dist/components/color-slider.d.ts +1 -1
- package/dist/components/color-swatch-picker.d.ts +1 -1
- package/dist/components/color-swatch.d.ts +1 -1
- package/dist/components/combobox.d.ts +16 -16
- package/dist/components/command.d.ts +15 -15
- package/dist/components/drawer.d.ts +10 -10
- package/dist/components/empty.d.ts +7 -7
- package/dist/components/field-set.d.ts +2 -2
- package/dist/components/field.d.ts +5 -5
- package/dist/components/form.d.ts +1 -1
- package/dist/components/group.d.ts +3 -3
- package/dist/components/icon.d.ts +1 -1
- package/dist/components/image.d.ts +1 -1
- package/dist/components/input-group.d.ts +5 -5
- package/dist/components/input.d.ts +1 -1
- package/dist/components/kbd.d.ts +2 -2
- package/dist/components/label.d.ts +1 -1
- package/dist/components/loader.d.ts +1 -1
- package/dist/components/masonry.d.ts +1 -1
- package/dist/components/navigation-menu.d.ts +9 -9
- package/dist/components/number-field.d.ts +5 -5
- package/dist/components/pagination.d.ts +7 -7
- package/dist/components/parameter-group.d.ts +1 -1
- package/dist/components/parameter.d.ts +7 -7
- package/dist/components/popover.d.ts +5 -5
- package/dist/components/progress.d.ts +5 -5
- package/dist/components/scroll-area.d.ts +2 -2
- package/dist/components/select.d.ts +8 -8
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/sidebar.d.ts +10 -10
- package/dist/components/slider.d.ts +3 -3
- package/dist/components/spacer.d.ts +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/steps.d.ts +7 -0
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/table-of-contents.d.ts +4 -3
- package/dist/components/tabs.d.ts +4 -4
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/tint-image.d.ts +1 -1
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toggle-group.d.ts +3 -3
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/tooltip.d.ts +2 -2
- package/dist/cursors/cursor-bracket.d.ts +1 -1
- package/dist/cursors/cursor-clipping.d.ts +1 -1
- package/dist/cursors/cursor-container.d.ts +1 -1
- package/dist/effects/border-glow.d.ts +1 -1
- package/dist/effects/border-trail.d.ts +1 -1
- package/dist/effects/counter.d.ts +1 -1
- package/dist/effects/cube-scene.d.ts +1 -1
- package/dist/effects/dark-veil.d.ts +1 -1
- package/dist/effects/dissolve-overlay.d.ts +1 -1
- package/dist/effects/dot-grid.d.ts +1 -1
- package/dist/effects/draggable-container.d.ts +1 -1
- package/dist/effects/faulty-terminal.d.ts +1 -1
- package/dist/effects/floating-lines.d.ts +1 -1
- package/dist/effects/glass-container.d.ts +1 -1
- package/dist/effects/grainient.d.ts +1 -1
- package/dist/effects/image-transition.d.ts +1 -1
- package/dist/effects/infinite-menu.d.ts +1 -1
- package/dist/effects/iridescence.d.ts +1 -1
- package/dist/effects/letter-swap.d.ts +1 -1
- package/dist/effects/marquee-bar.d.ts +1 -1
- package/dist/effects/marquee.d.ts +1 -1
- package/dist/effects/noise.d.ts +1 -1
- package/dist/effects/orb.d.ts +1 -1
- package/dist/effects/text-morph.d.ts +1 -1
- package/dist/effects/text-pressure.d.ts +1 -1
- package/dist/effects/text-roll.d.ts +1 -1
- package/dist/effects/text-scramble.d.ts +2 -2
- package/dist/effects/text-shimmer-wave.d.ts +2 -1
- package/dist/effects/text-shimmer.d.ts +2 -2
- package/dist/effects/text-swap-letter.d.ts +1 -1
- package/dist/index.css +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12148 -13595
- package/dist/index.js.map +1 -1
- package/dist/outdated/lottie.d.ts +1 -1
- package/dist/outdated/qr-code.d.ts +1 -1
- package/dist/outdated/shape.d.ts +1 -1
- package/dist/outdated/tint.d.ts +1 -1
- package/dist/providers/command-provider.d.ts +1 -1
- package/dist/providers/component-styles-provider.d.ts +1 -1
- package/dist/providers/design-system-provider.d.ts +1 -1
- package/dist/styles/code-block.d.ts +8 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/steps.d.ts +45 -0
- package/dist/styles/table-of-contents.d.ts +67 -11
- package/package.json +8 -7
|
@@ -3,19 +3,19 @@ import { ComponentStylesProps } from '../utils/styles';
|
|
|
3
3
|
interface Properties extends RootProperties, ComponentStylesProps<'sidebar'> {
|
|
4
4
|
defaultOpen?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare function Sidebar(properties: Properties): import("react
|
|
6
|
+
export declare function Sidebar(properties: Properties): import("react").JSX.Element;
|
|
7
7
|
type RootProperties = ComponentProps<'aside'>;
|
|
8
|
-
export declare function SidebarHeader(properties: ComponentProps<'div'>): import("react
|
|
9
|
-
export declare function SidebarContent(properties: ComponentProps<'div'>): import("react
|
|
10
|
-
export declare function SidebarFooter(properties: ComponentProps<'div'>): import("react
|
|
11
|
-
export declare function SidebarGroup(properties: ComponentProps<'div'>): import("react
|
|
12
|
-
export declare function SidebarGroupLabel(properties: ComponentProps<'div'>): import("react
|
|
13
|
-
export declare function SidebarGroupTitle(properties: ComponentProps<'span'>): import("react
|
|
14
|
-
export declare function SidebarGroupAction(properties: ComponentProps<'div'>): import("react
|
|
15
|
-
export declare function SidebarGroupContent(properties: ComponentProps<'div'>): import("react
|
|
8
|
+
export declare function SidebarHeader(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
9
|
+
export declare function SidebarContent(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
10
|
+
export declare function SidebarFooter(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
11
|
+
export declare function SidebarGroup(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
12
|
+
export declare function SidebarGroupLabel(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
13
|
+
export declare function SidebarGroupTitle(properties: ComponentProps<'span'>): import("react").JSX.Element;
|
|
14
|
+
export declare function SidebarGroupAction(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
15
|
+
export declare function SidebarGroupContent(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
16
16
|
interface ItemProperties extends ComponentProps<'a'> {
|
|
17
17
|
active?: boolean;
|
|
18
18
|
render?: ReactElement;
|
|
19
19
|
}
|
|
20
|
-
export declare function SidebarItem(properties: ItemProperties): import("react
|
|
20
|
+
export declare function SidebarItem(properties: ItemProperties): import("react").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Slider as SliderPrimitive } from '@base-ui/react/slider';
|
|
2
2
|
import { ComponentStylesProps } from '../utils/styles';
|
|
3
3
|
type Properties = RootProperties & ComponentStylesProps<'slider'>;
|
|
4
|
-
export declare function Slider(properties: Properties): import("react
|
|
4
|
+
export declare function Slider(properties: Properties): import("react").JSX.Element;
|
|
5
5
|
interface RootProperties extends SliderPrimitive.Root.Props {
|
|
6
6
|
bottomContent?: boolean;
|
|
7
7
|
}
|
|
@@ -12,6 +12,6 @@ type TicksProperties = React.ComponentProps<'div'> & {
|
|
|
12
12
|
skipInterval?: number;
|
|
13
13
|
renderLabel?: (value: number) => React.ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export declare function SliderTicks(properties: TicksProperties): import("react
|
|
16
|
-
export declare function SliderValue(properties: SliderPrimitive.Value.Props): import("react
|
|
15
|
+
export declare function SliderTicks(properties: TicksProperties): import("react").JSX.Element;
|
|
16
|
+
export declare function SliderValue(properties: SliderPrimitive.Value.Props): import("react").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { ComponentStylesProps } from '../utils/styles';
|
|
3
3
|
type Properties = RootProperties & ComponentStylesProps<'spacer'>;
|
|
4
|
-
export declare function Spacer(properties: Properties): import("react
|
|
4
|
+
export declare function Spacer(properties: Properties): import("react").JSX.Element;
|
|
5
5
|
type RootProperties = ComponentProps<'div'>;
|
|
6
6
|
export {};
|
|
@@ -5,7 +5,7 @@ declare const icons: {
|
|
|
5
5
|
readonly dots: "spinnerDots";
|
|
6
6
|
};
|
|
7
7
|
type Properties = RootProperties & ComponentStylesProps<'spinner'>;
|
|
8
|
-
export declare function Spinner(properties: Properties): import("react
|
|
8
|
+
export declare function Spinner(properties: Properties): import("react").JSX.Element;
|
|
9
9
|
interface RootProperties extends ComponentProps<'span'> {
|
|
10
10
|
variant?: keyof typeof icons;
|
|
11
11
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { ComponentStylesProps } from '../utils/styles';
|
|
3
|
+
type Properties = RootProperties & ComponentStylesProps<'steps'>;
|
|
4
|
+
export declare function Steps(properties: Properties): import("react").JSX.Element;
|
|
5
|
+
type RootProperties = ComponentProps<'div'>;
|
|
6
|
+
export declare function Step(properties: ComponentProps<'div'>): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { CuratedIcons } from '@digo-labs/common';
|
|
|
2
2
|
import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
|
|
3
3
|
import { ComponentStylesProps } from '../utils/styles';
|
|
4
4
|
type Properties = RootProperties & ComponentStylesProps<'switch'>;
|
|
5
|
-
export declare function Switch(properties: Properties): import("react
|
|
5
|
+
export declare function Switch(properties: Properties): import("react").JSX.Element;
|
|
6
6
|
interface RootProperties extends SwitchPrimitive.Root.Props {
|
|
7
7
|
checkedIcon?: CuratedIcons;
|
|
8
8
|
uncheckedIcon?: CuratedIcons;
|
|
@@ -4,12 +4,13 @@ export interface TocItemData {
|
|
|
4
4
|
depth: 2 | 3;
|
|
5
5
|
value: string;
|
|
6
6
|
slug: string;
|
|
7
|
+
step?: number;
|
|
7
8
|
}
|
|
8
9
|
export declare function useTocHeadings(pathname: string): TocItemData[];
|
|
9
10
|
type Properties = RootProperties & ComponentStylesProps<'tableOfContents'>;
|
|
10
|
-
export declare function TableOfContents(properties: Properties): import("react
|
|
11
|
+
export declare function TableOfContents(properties: Properties): import("react").JSX.Element;
|
|
11
12
|
type RootProperties = ComponentProps<'nav'>;
|
|
12
|
-
export declare function TableOfContentsHeader(properties: ComponentProps<'span'>): import("react
|
|
13
|
+
export declare function TableOfContentsHeader(properties: ComponentProps<'span'>): import("react").JSX.Element;
|
|
13
14
|
export type TocOffsets = Record<2 | 3, number>;
|
|
14
15
|
interface ItemsProperties {
|
|
15
16
|
items: TocItemData[];
|
|
@@ -18,5 +19,5 @@ interface ItemsProperties {
|
|
|
18
19
|
lineOffsets?: TocOffsets;
|
|
19
20
|
lineWidth?: number;
|
|
20
21
|
}
|
|
21
|
-
export declare function TableOfContentsItems(properties: ItemsProperties): import("react
|
|
22
|
+
export declare function TableOfContentsItems(properties: ItemsProperties): import("react").JSX.Element;
|
|
22
23
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
2
2
|
import { ComponentStylesProps } from '../utils/styles';
|
|
3
3
|
type Properties = RootProperties & ComponentStylesProps<'tabs'>;
|
|
4
|
-
export declare function Tabs(properties: Properties): import("react
|
|
4
|
+
export declare function Tabs(properties: Properties): import("react").JSX.Element;
|
|
5
5
|
type RootProperties = TabsPrimitive.Root.Props;
|
|
6
|
-
export declare function TabsList(properties: TabsPrimitive.List.Props): import("react
|
|
7
|
-
export declare function TabsTab(properties: TabsPrimitive.Tab.Props): import("react
|
|
8
|
-
export declare function TabsPanel(properties: TabsPrimitive.Panel.Props): import("react
|
|
6
|
+
export declare function TabsList(properties: TabsPrimitive.List.Props): import("react").JSX.Element;
|
|
7
|
+
export declare function TabsTab(properties: TabsPrimitive.Tab.Props): import("react").JSX.Element;
|
|
8
|
+
export declare function TabsPanel(properties: TabsPrimitive.Panel.Props): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -5,5 +5,5 @@ export interface TextAreaProperties extends RootProperties, ComponentStylesProps
|
|
|
5
5
|
unstyled?: boolean;
|
|
6
6
|
resize?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare function TextArea(properties: TextAreaProperties): import("react
|
|
8
|
+
export declare function TextArea(properties: TextAreaProperties): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -2,6 +2,6 @@ import { ComponentProps } from 'react';
|
|
|
2
2
|
import { Image } from './image';
|
|
3
3
|
import { ComponentStylesProps } from '../utils/styles';
|
|
4
4
|
type Properties = RootProperties & ComponentStylesProps<'tintImage'>;
|
|
5
|
-
export declare function TintImage(properties: Properties): import("react
|
|
5
|
+
export declare function TintImage(properties: Properties): import("react").JSX.Element;
|
|
6
6
|
type RootProperties = ComponentProps<typeof Image>;
|
|
7
7
|
export {};
|
|
@@ -5,5 +5,5 @@ type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | '
|
|
|
5
5
|
interface ProviderProperties extends Toast.Provider.Props, ComponentStylesProps<'toast'> {
|
|
6
6
|
position?: ToastPosition;
|
|
7
7
|
}
|
|
8
|
-
export declare function ToastProvider(properties: ProviderProperties): import("react
|
|
8
|
+
export declare function ToastProvider(properties: ProviderProperties): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -3,8 +3,8 @@ import { ComponentProps } from 'react';
|
|
|
3
3
|
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
|
|
4
4
|
import { ComponentStylesProps } from '../utils/styles';
|
|
5
5
|
type Properties = RootProperties & ComponentStylesProps<'toggleGroup'>;
|
|
6
|
-
export declare function ToggleGroup(properties: Properties): import("react
|
|
6
|
+
export declare function ToggleGroup(properties: Properties): import("react").JSX.Element;
|
|
7
7
|
type RootProperties = ToggleGroupPrimitive.Props;
|
|
8
|
-
export declare function ToggleGroupItem(properties: ComponentProps<typeof Toggle>): import("react
|
|
9
|
-
export declare function ToggleGroupSeparator(properties: ComponentProps<typeof Separator>): import("react
|
|
8
|
+
export declare function ToggleGroupItem(properties: ComponentProps<typeof Toggle>): import("react").JSX.Element;
|
|
9
|
+
export declare function ToggleGroupSeparator(properties: ComponentProps<typeof Separator>): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
2
|
import { ComponentStylesProps } from '../utils/styles';
|
|
3
3
|
type Properties = RootProperties & ComponentStylesProps<'toggle'>;
|
|
4
|
-
export declare function Toggle(properties: Properties): import("react
|
|
4
|
+
export declare function Toggle(properties: Properties): import("react").JSX.Element;
|
|
5
5
|
type RootProperties = TogglePrimitive.Props;
|
|
6
6
|
export {};
|
|
@@ -13,9 +13,9 @@ interface ProviderProperties extends ComponentStylesProps<'tooltip'> {
|
|
|
13
13
|
timeout?: number;
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare function TooltipProvider(properties: ProviderProperties): import("react
|
|
16
|
+
export declare function TooltipProvider(properties: ProviderProperties): import("react").JSX.Element;
|
|
17
17
|
interface TooltipProperties extends TooltipPayload {
|
|
18
18
|
children: ReactElement;
|
|
19
19
|
}
|
|
20
|
-
export declare function Tooltip(properties: TooltipProperties): import("react
|
|
20
|
+
export declare function Tooltip(properties: TooltipProperties): import("react").JSX.Element | undefined;
|
|
21
21
|
export {};
|
|
@@ -7,5 +7,5 @@ interface Properties {
|
|
|
7
7
|
lineLength?: number;
|
|
8
8
|
borderWidth?: number;
|
|
9
9
|
}
|
|
10
|
-
export declare function CursorBracket(properties: Properties): import("react
|
|
10
|
+
export declare function CursorBracket(properties: Properties): import("react").JSX.Element | null;
|
|
11
11
|
export {};
|
|
@@ -5,5 +5,5 @@ interface Properties {
|
|
|
5
5
|
radius?: number;
|
|
6
6
|
spring?: CursorSpring;
|
|
7
7
|
}
|
|
8
|
-
export declare function CursorClipping(properties: Properties): import("react
|
|
8
|
+
export declare function CursorClipping(properties: Properties): import("react").JSX.Element | null;
|
|
9
9
|
export {};
|
|
@@ -6,7 +6,7 @@ interface Properties {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
showNativeCursor?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function CursorContainer(properties: Properties): import("react
|
|
9
|
+
export declare function CursorContainer(properties: Properties): import("react").JSX.Element;
|
|
10
10
|
export declare function useCursorTracking(spring?: CursorSpring): {
|
|
11
11
|
x: MotionValue<number>;
|
|
12
12
|
y: MotionValue<number>;
|
|
@@ -19,5 +19,5 @@ interface Properties {
|
|
|
19
19
|
colors?: Color[];
|
|
20
20
|
fillOpacity?: number;
|
|
21
21
|
}
|
|
22
|
-
export declare function BorderGlow(properties: Properties): import("react
|
|
22
|
+
export declare function BorderGlow(properties: Properties): import("react").JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -7,4 +7,4 @@ export type BorderTrailProps = {
|
|
|
7
7
|
onAnimationComplete?: () => void;
|
|
8
8
|
style?: CSSProperties;
|
|
9
9
|
};
|
|
10
|
-
export declare function BorderTrail(properties: BorderTrailProps): import("react
|
|
10
|
+
export declare function BorderTrail(properties: BorderTrailProps): import("react").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { SpringOptions } from 'framer-motion';
|
|
3
3
|
import { ComponentStylesProps } from '../utils/styles';
|
|
4
4
|
type Properties = RootProperties & ComponentStylesProps<'counter'>;
|
|
5
|
-
export declare function Counter(properties: Properties): import("react
|
|
5
|
+
export declare function Counter(properties: Properties): import("react").JSX.Element;
|
|
6
6
|
interface RootProperties {
|
|
7
7
|
value: number;
|
|
8
8
|
places?: number;
|
|
@@ -7,5 +7,5 @@ interface SceneProperties {
|
|
|
7
7
|
height?: number;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function CubeScene(properties: SceneProperties): import("react
|
|
10
|
+
export declare function CubeScene(properties: SceneProperties): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -8,5 +8,5 @@ interface Properties {
|
|
|
8
8
|
resolutionScale?: number;
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function DarkVeil(properties: Properties): import("react
|
|
11
|
+
export declare function DarkVeil(properties: Properties): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -11,5 +11,5 @@ interface Properties {
|
|
|
11
11
|
onFinish?: () => void;
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function DissolveOverlay(properties: Properties): import("react
|
|
14
|
+
export declare function DissolveOverlay(properties: Properties): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -16,4 +16,4 @@ export interface DotGridProperties {
|
|
|
16
16
|
onClick?: (x: number, y: number) => void;
|
|
17
17
|
onMove?: (x: number, y: number) => void;
|
|
18
18
|
}
|
|
19
|
-
export declare function DotGrid(properties: DotGridProperties): import("react
|
|
19
|
+
export declare function DotGrid(properties: DotGridProperties): import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ interface Properties {
|
|
|
6
6
|
cursor?: boolean;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
}
|
|
9
|
-
export declare function DraggableContainer(properties: Properties): import("react
|
|
9
|
+
export declare function DraggableContainer(properties: Properties): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -21,5 +21,5 @@ interface FaultyTerminalProperties extends React.HTMLAttributes<HTMLDivElement>
|
|
|
21
21
|
pageLoadAnimation?: boolean;
|
|
22
22
|
brightness?: number;
|
|
23
23
|
}
|
|
24
|
-
export declare function FaultyTerminal(properties: FaultyTerminalProperties):
|
|
24
|
+
export declare function FaultyTerminal(properties: FaultyTerminalProperties): React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -21,5 +21,5 @@ type Properties = {
|
|
|
21
21
|
mixBlendMode?: React.CSSProperties['mixBlendMode'];
|
|
22
22
|
className?: string;
|
|
23
23
|
};
|
|
24
|
-
export declare function FloatingLines(properties: Properties): import("react
|
|
24
|
+
export declare function FloatingLines(properties: Properties): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -9,5 +9,5 @@ interface Properties {
|
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
onClick?: () => void;
|
|
11
11
|
}
|
|
12
|
-
export declare function GlassContainer(properties: Properties): import("react
|
|
12
|
+
export declare function GlassContainer(properties: Properties): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -24,5 +24,5 @@ interface Properties {
|
|
|
24
24
|
color3?: Color;
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function Grainient(properties: Properties): import("react
|
|
27
|
+
export declare function Grainient(properties: Properties): import("react").JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -20,5 +20,5 @@ interface Properties {
|
|
|
20
20
|
style?: CSSProperties;
|
|
21
21
|
className?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function ImageTransition(properties: Properties): import("react
|
|
23
|
+
export declare function ImageTransition(properties: Properties): import("react").JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -15,5 +15,5 @@ interface Properties extends InfiniteMenuOptions {
|
|
|
15
15
|
onItemSelected?: (item: InfiniteMenuItem) => void;
|
|
16
16
|
onDragChange?: (drag: boolean) => void;
|
|
17
17
|
}
|
|
18
|
-
export declare function InfiniteMenu(properties: Properties): import("react
|
|
18
|
+
export declare function InfiniteMenu(properties: Properties): import("react").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -8,5 +8,5 @@ interface Properties {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
}
|
|
11
|
-
export declare function Iridescence(properties: Properties): import("react
|
|
11
|
+
export declare function Iridescence(properties: Properties): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -4,5 +4,5 @@ interface LetterSwapProperties {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
direction?: AnimationDirection;
|
|
6
6
|
}
|
|
7
|
-
export declare function LetterSwap(properties: LetterSwapProperties): import("react
|
|
7
|
+
export declare function LetterSwap(properties: LetterSwapProperties): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -2,5 +2,5 @@ interface MarqueeBarProperties {
|
|
|
2
2
|
direction?: 'left' | 'right' | 'up' | 'down';
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function MarqueeBar(properties: MarqueeBarProperties): import("react
|
|
5
|
+
export declare function MarqueeBar(properties: MarqueeBarProperties): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -22,5 +22,5 @@ interface SimpleMarqueeProperties {
|
|
|
22
22
|
grabCursor?: boolean;
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
}
|
|
25
|
-
export declare function Marquee(properites: SimpleMarqueeProperties): import("react
|
|
25
|
+
export declare function Marquee(properites: SimpleMarqueeProperties): import("react").JSX.Element;
|
|
26
26
|
export {};
|
package/dist/effects/noise.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface NoiseProperties {
|
|
|
6
6
|
patternAlpha?: number;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Noise(properties: NoiseProperties): import("react
|
|
9
|
+
export declare function Noise(properties: NoiseProperties): import("react").JSX.Element;
|
|
10
10
|
export {};
|
package/dist/effects/orb.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ interface Properties {
|
|
|
11
11
|
color3?: ColorRGB;
|
|
12
12
|
style?: CSSProperties;
|
|
13
13
|
}
|
|
14
|
-
export declare function Orb(properties: Properties): import("react
|
|
14
|
+
export declare function Orb(properties: Properties): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -11,4 +11,4 @@ export interface TextMorphProperties {
|
|
|
11
11
|
mass?: number;
|
|
12
12
|
onFinish?: () => void;
|
|
13
13
|
}
|
|
14
|
-
export declare function TextMorph(properties: TextMorphProperties): import("react
|
|
14
|
+
export declare function TextMorph(properties: TextMorphProperties): import("react").JSX.Element;
|
|
@@ -9,5 +9,5 @@ interface TextPressureProps {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
minFontSize?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare function TextPressure(properties: TextPressureProps): import("react
|
|
12
|
+
export declare function TextPressure(properties: TextPressureProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -18,5 +18,5 @@ interface Properties {
|
|
|
18
18
|
};
|
|
19
19
|
onAnimationComplete?: () => void;
|
|
20
20
|
}
|
|
21
|
-
export declare function TextRoll(properties: Properties): import("react
|
|
21
|
+
export declare function TextRoll(properties: Properties): import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import { CSSProperties, JSX } from 'react';
|
|
2
2
|
import { MotionProps } from 'motion/react';
|
|
3
3
|
interface Properties extends MotionProps {
|
|
4
4
|
children: string;
|
|
@@ -12,5 +12,5 @@ interface Properties extends MotionProps {
|
|
|
12
12
|
triggerOnMouse?: boolean;
|
|
13
13
|
onScrambleComplete?: () => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function TextScramble(properties: Properties):
|
|
15
|
+
export declare function TextScramble(properties: Properties): JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { Transition } from 'motion/react';
|
|
2
3
|
interface Properties {
|
|
3
4
|
children: string;
|
|
@@ -12,5 +13,5 @@ interface Properties {
|
|
|
12
13
|
rotateYDistance?: number;
|
|
13
14
|
transition?: Transition;
|
|
14
15
|
}
|
|
15
|
-
export declare function TextShimmerWave(properties: Properties):
|
|
16
|
+
export declare function TextShimmerWave(properties: Properties): JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
1
|
+
import { ElementType, JSX } from 'react';
|
|
2
2
|
import { ComponentStylesProps } from '../utils/styles';
|
|
3
3
|
type Properties = RootProperties & ComponentStylesProps<'textShimmer'>;
|
|
4
|
-
export declare function TextShimmer(properties: Properties):
|
|
4
|
+
export declare function TextShimmer(properties: Properties): JSX.Element;
|
|
5
5
|
interface RootProperties {
|
|
6
6
|
children: string;
|
|
7
7
|
as?: ElementType;
|
|
@@ -2,5 +2,5 @@ interface TextSwapLetterProperties {
|
|
|
2
2
|
word: string;
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare function TextSwapLetter(properties: TextSwapLetterProperties): import("react
|
|
5
|
+
export declare function TextSwapLetter(properties: TextSwapLetterProperties): import("react").JSX.Element;
|
|
6
6
|
export {};
|
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export * from './components/sidebar';
|
|
|
81
81
|
export * from './components/spacer';
|
|
82
82
|
export * from './components/slider';
|
|
83
83
|
export * from './components/spinner';
|
|
84
|
+
export * from './components/steps';
|
|
84
85
|
export * from './components/switch';
|
|
85
86
|
export * from './components/loader';
|
|
86
87
|
export * from './components/tabs';
|