@overmap-ai/blocks 1.0.31-tailwind-components.21 → 1.0.31-tailwind-components.22
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/AlertDialog/typings.d.ts +2 -2
- package/dist/Avatar/Root.d.ts +2 -2
- package/dist/Avatar/context.d.ts +1 -1
- package/dist/Avatar/typings.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +2 -2
- package/dist/Badge/typings.d.ts +1 -1
- package/dist/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/Buttons/Button.d.ts +2 -2
- package/dist/Buttons/IconButton.d.ts +2 -2
- package/dist/Card/Card.d.ts +2 -2
- package/dist/Card/typings.d.ts +1 -1
- package/dist/Checkbox/Root.d.ts +2 -2
- package/dist/Checkbox/typings.d.ts +1 -1
- package/dist/Dialog/Content.d.ts +2 -2
- package/dist/Dialog/Root.d.ts +1 -1
- package/dist/Dialog/context.d.ts +1 -1
- package/dist/Heading/Heading.d.ts +2 -2
- package/dist/Heading/constants.d.ts +1 -1
- package/dist/Heading/typings.d.ts +1 -1
- package/dist/HoverCard/Content.d.ts +2 -2
- package/dist/HoverCard/typings.d.ts +1 -1
- package/dist/Input/Root.d.ts +2 -2
- package/dist/Input/typings.d.ts +1 -1
- package/dist/Link/Link.d.ts +2 -2
- package/dist/Link/typings.d.ts +1 -1
- package/dist/Menu/ClickTrigger/ClickTrigger.d.ts +1 -1
- package/dist/Menu/Content/Content.d.ts +1 -1
- package/dist/Menu/Content/context.d.ts +2 -2
- package/dist/Menu/ContextTrigger/ContextTrigger.d.ts +1 -1
- package/dist/Menu/Group/Group.d.ts +1 -1
- package/dist/Menu/Input/Field.d.ts +1 -1
- package/dist/Menu/Input/Root.d.ts +1 -1
- package/dist/Menu/Input/Slot.d.ts +1 -1
- package/dist/Menu/Item/Item.d.ts +1 -1
- package/dist/Menu/MultiSelectGroup/MultiSelectGroup.d.ts +1 -1
- package/dist/Menu/PageContent/PageContent.d.ts +1 -1
- package/dist/Menu/PageTrigger/PageTrigger.d.ts +1 -1
- package/dist/Menu/Pages/Pages.d.ts +1 -1
- package/dist/Menu/SelectAll/SelectAllIndicator.d.ts +1 -1
- package/dist/Menu/SelectAll/SelectAllItem.d.ts +1 -1
- package/dist/Menu/SelectGroup/SelectGroup.d.ts +1 -1
- package/dist/Menu/SelectItem/SelectItem.d.ts +1 -1
- package/dist/Menu/Separator/Separator.d.ts +1 -1
- package/dist/Menu/Sub/Sub.d.ts +1 -1
- package/dist/Menu/Sub/context.d.ts +1 -1
- package/dist/Menu/SubContent/SubContent.d.ts +1 -1
- package/dist/Menu/SubTrigger/SubTrigger.d.ts +1 -1
- package/dist/Menu/VirtualTrigger/VirtualTrigger.d.ts +1 -1
- package/dist/Menu/root/Root.d.ts +1 -1
- package/dist/Menu/root/context.d.ts +1 -1
- package/dist/Popover/Content.d.ts +2 -2
- package/dist/Popover/typings.d.ts +1 -1
- package/dist/Provider/Provider.d.ts +1 -1
- package/dist/Provider/context.d.ts +1 -1
- package/dist/RadioGroup/Item.d.ts +1 -1
- package/dist/RadioGroup/Root.d.ts +2 -2
- package/dist/RadioGroup/context.d.ts +1 -1
- package/dist/RadioGroup/typings.d.ts +1 -1
- package/dist/SegmentedControl/Root.d.ts +2 -2
- package/dist/SegmentedControl/context.d.ts +1 -1
- package/dist/SegmentedControl/typings.d.ts +2 -2
- package/dist/Separator/Separator.d.ts +1 -1
- package/dist/Switch/Root.d.ts +2 -2
- package/dist/Switch/context.d.ts +1 -1
- package/dist/Switch/typings.d.ts +1 -1
- package/dist/Table/Root.d.ts +2 -2
- package/dist/Table/typings.d.ts +1 -1
- package/dist/Tabs/List.d.ts +2 -2
- package/dist/Tabs/context.d.ts +1 -1
- package/dist/Tabs/typings.d.ts +1 -1
- package/dist/Text/Text.d.ts +2 -2
- package/dist/Text/typings.d.ts +1 -1
- package/dist/TextArea/TextArea.d.ts +2 -2
- package/dist/TextArea/typings.d.ts +1 -1
- package/dist/Toast/Toast.d.ts +1 -1
- package/dist/Toast/ToastProvider.d.ts +1 -1
- package/dist/Toast/typings.d.ts +2 -2
- package/dist/ToggleButton/BaseToggleButton.d.ts +1 -1
- package/dist/ToggleButton/IconToggleButton.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/Tooltip/Content.d.ts +2 -2
- package/dist/Tooltip/typings.d.ts +1 -1
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import { ReactNode } from "react";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
3
|
import { dialogContent } from "./cva";
|
|
4
4
|
type Variants = VariantProps<typeof dialogContent>;
|
|
5
5
|
export type AlertDialogSize = NonNullable<Variants["size"]>;
|
package/dist/Avatar/Root.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixAvatar from "@radix-ui/react-avatar";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { AvatarVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { AvatarVariantProps } from "./typings";
|
|
5
5
|
export interface AvatarRootProps extends RadixAvatar.AvatarProps, AvatarVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const AvatarRoot: import("react").ForwardRefExoticComponent<AvatarRootProps & import("react").RefAttributes<HTMLSpanElement>>;
|
package/dist/Avatar/context.d.ts
CHANGED
package/dist/Avatar/typings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import type { ComponentRadius } from "../Provider";
|
|
3
3
|
import { avatar, avatarFallback } from "./cva";
|
|
4
4
|
type Variants = VariantProps<typeof avatar> & VariantProps<typeof avatarFallback>;
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { BadgeVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { BadgeVariantProps } from "./typings";
|
|
4
4
|
export interface BadgeProps extends ComponentProps<"span">, BadgeVariantProps, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Badge: import("react").ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
package/dist/Badge/typings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { ButtonVariantProps } from "../Buttons";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
2
|
+
import type { ButtonVariantProps } from "../Buttons";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
4
|
export interface ButtonGroupProps extends PropsWithoutRef<ComponentProps<"div">>, ButtonVariantProps, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const ButtonGroup: {
|
package/dist/Buttons/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { ButtonVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { ButtonVariantProps } from "./typings";
|
|
4
4
|
export interface ButtonProps extends ButtonVariantProps, PropsWithoutRef<ComponentProps<"button">>, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Button: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { ButtonVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { ButtonVariantProps } from "./typings";
|
|
4
4
|
export interface IconButtonProps extends ButtonVariantProps, PropsWithoutRef<ComponentProps<"button">>, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const IconButton: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { CardVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { CardVariantProps } from "./typings";
|
|
4
4
|
export interface CardProps extends PropsWithoutRef<ComponentProps<"div">>, CardVariantProps, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Card/typings.d.ts
CHANGED
package/dist/Checkbox/Root.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixCheckbox from "@radix-ui/react-checkbox";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { CheckboxVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { CheckboxVariantProps } from "./typings";
|
|
5
5
|
export interface CheckboxRootProps extends CheckboxVariantProps, RadixCheckbox.CheckboxProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const CheckboxRoot: import("react").ForwardRefExoticComponent<CheckboxRootProps & import("react").RefAttributes<HTMLButtonElement>>;
|
package/dist/Dialog/Content.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as RadixDialog from "@radix-ui/react-dialog";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import { AlertDialogSize } from "../AlertDialog";
|
|
4
|
-
import { CloseDialogWithOptions } from "./typings";
|
|
3
|
+
import type { AlertDialogSize } from "../AlertDialog";
|
|
4
|
+
import type { CloseDialogWithOptions } from "./typings";
|
|
5
5
|
export interface DialogContentProps extends Omit<RadixDialog.DialogContentProps, "children"> {
|
|
6
6
|
title: string;
|
|
7
7
|
container?: RadixDialog.DialogPortalProps["container"];
|
package/dist/Dialog/Root.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DialogProps } from "./typings";
|
|
1
|
+
import type { DialogProps } from "./typings";
|
|
2
2
|
export declare const DialogRoot: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Dialog/context.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { HeadingVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { HeadingVariantProps } from "./typings";
|
|
4
4
|
export interface HeadingProps extends PropsWithoutRef<ComponentProps<"h1">>, HeadingVariantProps, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Heading: import("react").ForwardRefExoticComponent<HeadingProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HeadingLevel } from "./typings";
|
|
1
|
+
import type { HeadingLevel } from "./typings";
|
|
2
2
|
export declare const headingLevelTagMapping: Record<HeadingLevel, "h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { headingCva } from "./cva";
|
|
3
3
|
type HeadingVariants = VariantProps<typeof headingCva>;
|
|
4
4
|
export type HeadingSize = NonNullable<HeadingVariants["size"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixHoverCard from "@radix-ui/react-hover-card";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { HoverCardVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { HoverCardVariantProps } from "./typings";
|
|
5
5
|
export interface HoverCardContentProps extends RadixHoverCard.HoverCardContentProps, HoverCardVariantProps, AccentColorProps {
|
|
6
6
|
container?: RadixHoverCard.HoverCardPortalProps["container"];
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import type { ComponentRadius } from "../Provider";
|
|
3
3
|
import { hoverCardContent } from "./cva";
|
|
4
4
|
type Variants = VariantProps<typeof hoverCardContent>;
|
package/dist/Input/Root.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { InputVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { InputVariantProps } from "./typings";
|
|
4
4
|
export interface InputRootProps extends InputVariantProps, PropsWithoutRef<ComponentProps<"div">>, AccentColorProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const InputRoot: import("react").ForwardRefExoticComponent<InputRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Input/typings.d.ts
CHANGED
package/dist/Link/Link.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { LinkVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { LinkVariantProps } from "./typings";
|
|
4
4
|
export interface LinkProps extends PropsWithoutRef<ComponentProps<"a">>, AccentColorProps, LinkVariantProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
package/dist/Link/typings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { linkCva } from "./cva";
|
|
3
3
|
type LinkVariants = VariantProps<typeof linkCva>;
|
|
4
4
|
export type LinkSize = Exclude<NonNullable<LinkVariants["size"]>, "none">;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuClickTriggerProps } from "../typings";
|
|
2
|
+
import type { MenuClickTriggerProps } from "../typings";
|
|
3
3
|
export declare const MenuClickTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuClickTriggerProps & import("react").RefAttributes<HTMLElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuContentProps } from "../typings";
|
|
2
|
+
import type { MenuContentProps } from "../typings";
|
|
3
3
|
export declare const MenuContent: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<MenuContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseFloatingData, UseInteractionsReturn } from "@floating-ui/react";
|
|
2
2
|
import { MutableRefObject } from "react";
|
|
3
|
-
import { ComponentRadius } from "../../Provider";
|
|
4
|
-
import { MenuSize, MenuVariant } from "../typings";
|
|
3
|
+
import type { ComponentRadius } from "../../Provider";
|
|
4
|
+
import type { MenuSize, MenuVariant } from "../typings";
|
|
5
5
|
interface IMenuContentContext {
|
|
6
6
|
activeIndex: number | null;
|
|
7
7
|
getItemProps: UseInteractionsReturn["getItemProps"];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuContextTriggerProps } from "../typings";
|
|
2
|
+
import type { MenuContextTriggerProps } from "../typings";
|
|
3
3
|
export declare const MenuContextTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuContextTriggerProps & import("react").RefAttributes<HTMLElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuGroupProps } from "../typings";
|
|
2
|
+
import type { MenuGroupProps } from "../typings";
|
|
3
3
|
export declare const MenuGroup: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuInputProps } from "../typings";
|
|
2
|
+
import type { MenuInputProps } from "../typings";
|
|
3
3
|
export declare const MenuInputField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<MenuInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuInputRootProps } from "../typings";
|
|
2
|
+
import type { MenuInputRootProps } from "../typings";
|
|
3
3
|
export declare const MenuInputRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuInputRootProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuInputSlotProps } from "../typings";
|
|
2
|
+
import type { MenuInputSlotProps } from "../typings";
|
|
3
3
|
export declare const MenuInputSlot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuInputSlotProps & import("react").RefAttributes<HTMLDivElement>>>;
|
package/dist/Menu/Item/Item.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuItemProps } from "../typings";
|
|
2
|
+
import type { MenuItemProps } from "../typings";
|
|
3
3
|
export declare const MenuItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuItemProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuMultiSelectGroupProps } from "../typings";
|
|
2
|
+
import type { MenuMultiSelectGroupProps } from "../typings";
|
|
3
3
|
export declare const MenuMultiSelectGroup: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuMultiSelectGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PageContentProps } from "../typings";
|
|
2
|
+
import type { PageContentProps } from "../typings";
|
|
3
3
|
export declare const MenuPageContent: import("react").MemoExoticComponent<(props: PageContentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PageTriggerProps } from "../typings";
|
|
2
|
+
import type { PageTriggerProps } from "../typings";
|
|
3
3
|
export declare const MenuPageTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<PageTriggerProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SelectAllIndicatorProps } from "../typings";
|
|
2
|
+
import type { SelectAllIndicatorProps } from "../typings";
|
|
3
3
|
export declare const MenuSelectAllIndicator: import("react").ForwardRefExoticComponent<SelectAllIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SelectAllItemProps } from "../typings";
|
|
2
|
+
import type { SelectAllItemProps } from "../typings";
|
|
3
3
|
export declare const MenuSelectAllItem: import("react").ForwardRefExoticComponent<SelectAllItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuSelectGroupProps } from "../typings";
|
|
2
|
+
import type { MenuSelectGroupProps } from "../typings";
|
|
3
3
|
export declare const MenuSelectGroup: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuSelectGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuSelectItemProps } from "../typings";
|
|
2
|
+
import type { MenuSelectItemProps } from "../typings";
|
|
3
3
|
export declare const MenuSelectItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuSelectItemProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuSeparatorProps } from "../typings";
|
|
2
|
+
import type { MenuSeparatorProps } from "../typings";
|
|
3
3
|
export declare const MenuSeparator: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>>>;
|
package/dist/Menu/Sub/Sub.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseFloatingData, UseInteractionsReturn } from "@floating-ui/react";
|
|
2
2
|
import { CSSProperties, MutableRefObject } from "react";
|
|
3
|
-
import { MenuSide } from "../typings";
|
|
3
|
+
import type { MenuSide } from "../typings";
|
|
4
4
|
interface ISubContext {
|
|
5
5
|
open: boolean;
|
|
6
6
|
setOpen: (open: boolean) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SubMenuContentProps } from "../typings";
|
|
2
|
+
import type { SubMenuContentProps } from "../typings";
|
|
3
3
|
export declare const MenuSubContent: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SubMenuContentProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuSubTriggerProps } from "../typings";
|
|
2
|
+
import type { MenuSubTriggerProps } from "../typings";
|
|
3
3
|
export declare const MenuSubTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>>;
|
package/dist/Menu/root/Root.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MiddlewareData, UseFloatingData, UseInteractionsReturn } from "@floating-ui/react";
|
|
2
2
|
import { CSSProperties, MutableRefObject } from "react";
|
|
3
|
-
import { MenuSide, MenuTriggerType } from "../typings";
|
|
3
|
+
import type { MenuSide, MenuTriggerType } from "../typings";
|
|
4
4
|
interface IMenuContext {
|
|
5
5
|
open: boolean;
|
|
6
6
|
setOpen: (open: boolean) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixPopover from "@radix-ui/react-popover";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { PopoverVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { PopoverVariantProps } from "./typings";
|
|
5
5
|
export interface PopoverContentProps extends RadixPopover.PopoverContentProps, PopoverVariantProps, AccentColorProps {
|
|
6
6
|
container?: RadixPopover.PopoverPortalProps["container"];
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import type { ComponentRadius } from "../Provider";
|
|
3
3
|
import { popoverContent } from "./cva";
|
|
4
4
|
type PopoverVariants = VariantProps<typeof popoverContent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
3
|
-
import { RadioGroupVariantProps } from "./typings";
|
|
3
|
+
import type { RadioGroupVariantProps } from "./typings";
|
|
4
4
|
export interface RadioGroupItemProps extends RadioGroupVariantProps, RadixRadioGroup.RadioGroupItemProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const RadioGroupItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<RadioGroupItemProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { RadioGroupVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { RadioGroupVariantProps } from "./typings";
|
|
5
5
|
export interface RadioGroupRootProps extends RadixRadioGroup.RadioGroupProps, RadioGroupVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const RadioGroupRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<RadioGroupRootProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { radioGroupItem } from "./cva";
|
|
3
3
|
type Variants = VariantProps<typeof radioGroupItem>;
|
|
4
4
|
export type RadioGroupVariant = NonNullable<Variants["variant"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixToggleGroup from "@radix-ui/react-toggle-group";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { SegmentedControlVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { SegmentedControlVariantProps } from "./typings";
|
|
5
5
|
export interface SegmentedControlRootProps extends Omit<RadixToggleGroup.ToggleGroupSingleProps, "type">, SegmentedControlVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const SegmentedControlRoot: import("react").ForwardRefExoticComponent<SegmentedControlRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ComponentRadius } from "../Provider";
|
|
3
|
-
import { SegmentedControlSize, SegmentedControlVariant } from "./typings";
|
|
3
|
+
import type { SegmentedControlSize, SegmentedControlVariant } from "./typings";
|
|
4
4
|
interface ISegmentedControlContext {
|
|
5
5
|
size: SegmentedControlSize;
|
|
6
6
|
variant: SegmentedControlVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import { ComponentRadius } from "../Provider";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
|
+
import type { ComponentRadius } from "../Provider";
|
|
3
3
|
import { segmentedControlRootCva } from "./cva";
|
|
4
4
|
type SegmentedControlVariants = VariantProps<typeof segmentedControlRootCva>;
|
|
5
5
|
export type SegmentedControlSize = NonNullable<SegmentedControlVariants["size"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixSeparator from "@radix-ui/react-separator";
|
|
3
3
|
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { SeparatorVariantProps } from "./typings";
|
|
4
|
+
import type { SeparatorVariantProps } from "./typings";
|
|
5
5
|
interface SeparatorProps extends RadixSeparator.SeparatorProps, SeparatorVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Switch/Root.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixSwitch from "@radix-ui/react-switch";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { SwitchVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { SwitchVariantProps } from "./typings";
|
|
5
5
|
export interface SwitchRootProps extends RadixSwitch.SwitchProps, SwitchVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const SwitchRoot: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SwitchRootProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
package/dist/Switch/context.d.ts
CHANGED
package/dist/Switch/typings.d.ts
CHANGED
package/dist/Table/Root.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { TableVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { TableVariantProps } from "./typings";
|
|
4
4
|
export interface TableRootProps extends Omit<PropsWithoutRef<ComponentProps<"table">>, "border">, AccentColorProps, TableVariantProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const TableRoot: import("react").ForwardRefExoticComponent<TableRootProps & import("react").RefAttributes<HTMLTableElement>>;
|
package/dist/Table/typings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { tableCellCva } from "./cva";
|
|
3
3
|
type TableVariants = VariantProps<typeof tableCellCva>;
|
|
4
4
|
export type TableCellSize = NonNullable<TableVariants["size"]>;
|
package/dist/Tabs/List.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
3
|
-
import { AccentColorProps } from "../typings";
|
|
4
|
-
import { TabsVariantProps } from "./typings";
|
|
3
|
+
import type { AccentColorProps } from "../typings";
|
|
4
|
+
import type { TabsVariantProps } from "./typings";
|
|
5
5
|
export interface TabsListProps extends RadixTabs.TabsListProps, TabsVariantProps, AccentColorProps {
|
|
6
6
|
}
|
|
7
7
|
export declare const TabsList: import("react").ForwardRefExoticComponent<TabsListProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/Tabs/context.d.ts
CHANGED
package/dist/Tabs/typings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
import { tabsListCva } from "./cva";
|
|
3
3
|
type TabsVariants = VariantProps<typeof tabsListCva>;
|
|
4
4
|
export type TabsSize = NonNullable<TabsVariants["size"]>;
|
package/dist/Text/Text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, PropsWithoutRef } from "react";
|
|
2
|
-
import { AccentColorProps } from "../typings";
|
|
3
|
-
import { TextVariantProps } from "./typings";
|
|
2
|
+
import type { AccentColorProps } from "../typings";
|
|
3
|
+
import type { TextVariantProps } from "./typings";
|
|
4
4
|
export interface TextProps extends PropsWithoutRef<ComponentProps<"span">>, AccentColorProps, TextVariantProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLSpanElement>>;
|
package/dist/Text/typings.d.ts
CHANGED