@ghostly-solutions/ui 1.0.1 → 1.0.3
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 +61 -0
- package/dist/chunk-yhwkdmmt.js +11 -0
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts +9 -4
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +6 -2
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio/index.d.ts +1 -1
- package/dist/components/aspect-ratio/index.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts +14 -2
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.builders.d.ts +48 -0
- package/dist/components/breadcrumb/breadcrumb.builders.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.contract.d.ts +63 -0
- package/dist/components/breadcrumb/breadcrumb.contract.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.logic.d.ts +7 -0
- package/dist/components/breadcrumb/breadcrumb.logic.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.smart.d.ts +34 -0
- package/dist/components/breadcrumb/breadcrumb.smart.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +4 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/components/button/button.d.ts +9 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/command/command.d.ts +8 -1
- package/dist/components/command/command.d.ts.map +1 -1
- package/dist/components/context-menu/context-menu.d.ts +11 -4
- package/dist/components/context-menu/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu/index.d.ts +1 -1
- package/dist/components/context-menu/index.d.ts.map +1 -1
- package/dist/components/dialog/dialog.d.ts +12 -3
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +4 -6
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/error-boundary/error-boundary.d.ts +3 -3
- package/dist/components/form-field/form-field.d.ts +4 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -1
- package/dist/components/hover-card/hover-card.d.ts +6 -2
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/kbd/kbd.d.ts.map +1 -1
- package/dist/components/label/label.d.ts.map +1 -1
- package/dist/components/loader/loader.d.ts +3 -2
- package/dist/components/loader/loader.d.ts.map +1 -1
- package/dist/components/multiselect/multiselect.d.ts +17 -3
- package/dist/components/multiselect/multiselect.d.ts.map +1 -1
- package/dist/components/navbar/navbar.d.ts.map +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +7 -6
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/dist/components/otp-input/otp-input.d.ts +1 -1
- package/dist/components/overlay/index.d.ts +1 -1
- package/dist/components/overlay/index.d.ts.map +1 -1
- package/dist/components/overlay/overlay.d.ts +11 -9
- package/dist/components/overlay/overlay.d.ts.map +1 -1
- package/dist/components/overlay/overlay.shared.d.ts +6 -0
- package/dist/components/overlay/overlay.shared.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +4 -4
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/progress/progress.d.ts +3 -0
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/resizable-panel/resizable-panel.d.ts +1 -1
- package/dist/components/resizable-panel/resizable-panel.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts +6 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/select/select.d.ts +19 -2
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sheet/sheet.d.ts +13 -3
- package/dist/components/sheet/sheet.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/slider/slider.d.ts +2 -3
- package/dist/components/slider/slider.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spotlight/index.d.ts +1 -1
- package/dist/components/spotlight/index.d.ts.map +1 -1
- package/dist/components/spotlight/spotlight.d.ts.map +1 -1
- package/dist/components/stepper/stepper.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +2 -3
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/toast/toaster.d.ts.map +1 -1
- package/dist/components/toast/use-toast.d.ts +1 -1
- package/dist/components/toast/use-toast.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts +9 -3
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/ui-provider/index.d.ts +1 -1
- package/dist/components/ui-provider/index.d.ts.map +1 -1
- package/dist/components/ui-provider/ui-provider.d.ts +7 -5
- package/dist/components/ui-provider/ui-provider.d.ts.map +1 -1
- package/dist/contracts/component-contracts.d.ts +20 -0
- package/dist/contracts/component-contracts.d.ts.map +1 -1
- package/dist/contracts/events.d.ts +6 -0
- package/dist/contracts/events.d.ts.map +1 -1
- package/dist/contracts/hotkeys.d.ts +11 -0
- package/dist/contracts/hotkeys.d.ts.map +1 -1
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/overlay.d.ts +24 -0
- package/dist/contracts/overlay.d.ts.map +1 -0
- package/dist/contracts/primitives.d.ts +5 -5
- package/dist/contracts/primitives.d.ts.map +1 -1
- package/dist/contracts/theme.d.ts +5 -0
- package/dist/contracts/theme.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-floating-indicator.d.ts +10 -0
- package/dist/hooks/use-floating-indicator.d.ts.map +1 -0
- package/dist/hooks/use-hotkey.d.ts.map +1 -1
- package/dist/hooks/use-media-query.d.ts.map +1 -1
- package/dist/hooks/use-platform.d.ts.map +1 -1
- package/dist/hooks/use-reduced-motion.d.ts +6 -0
- package/dist/hooks/use-reduced-motion.d.ts.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/lib/density.d.ts +2 -13
- package/dist/lib/density.d.ts.map +1 -1
- package/dist/lib/hotkey.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/platform.d.ts +5 -3
- package/dist/lib/platform.d.ts.map +1 -1
- package/dist/lib/theme/constants.d.ts +1 -2
- package/dist/lib/theme/constants.d.ts.map +1 -1
- package/dist/lib/theme/core.d.ts +4 -15
- package/dist/lib/theme/core.d.ts.map +1 -1
- package/dist/lib/theme/index.d.ts +3 -3
- package/dist/lib/theme/index.d.ts.map +1 -1
- package/dist/lib/theme/provider.d.ts.map +1 -1
- package/dist/lib/types.d.ts +4 -1
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/server.d.ts +6 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/themes/base.css +1 -1
- package/dist/styles/themes/ghost-guard.css +1 -1
- package/dist/styles/themes/ghostly-solutions.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-dweaczp3.js +0 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItemVariant, type ContextMenuItemVariantValue, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, contextMenuCheckboxItemVariants, contextMenuContentVariants, contextMenuItemVariants, contextMenuLabelVariants, contextMenuRadioItemVariants, contextMenuSeparatorVariants, contextMenuShortcutVariants, } from "./context-menu";
|
|
1
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItemVariant, type ContextMenuItemVariantValue, ContextMenuLabel, ContextMenuPortal, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, contextMenuCheckboxItemVariants, contextMenuContentVariants, contextMenuItemVariants, contextMenuLabelVariants, contextMenuRadioItemVariants, contextMenuSeparatorVariants, contextMenuShortcutVariants, } from "./context-menu";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,+BAA+B,EAC/B,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,GAC3B,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,+BAA+B,EAC/B,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,GAC3B,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2
|
-
import { type ComponentPropsWithoutRef, type HTMLAttributes } from "react";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type HTMLAttributes, type ReactNode } from "react";
|
|
3
|
+
import { type OverlayPortalProps } from "@/contracts";
|
|
3
4
|
declare const DialogSize: {
|
|
4
5
|
readonly sm: "sm";
|
|
5
6
|
readonly md: "md";
|
|
@@ -8,7 +9,11 @@ declare const DialogSize: {
|
|
|
8
9
|
readonly full: "full";
|
|
9
10
|
};
|
|
10
11
|
type DialogSizeValue = (typeof DialogSize)[keyof typeof DialogSize];
|
|
11
|
-
|
|
12
|
+
interface DialogRootProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
13
|
+
/** Dialog subtree with trigger/content composition. */
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const Dialog: ({ children, open: controlledOpen, defaultOpen, onOpenChange, ...props }: DialogRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
17
|
declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
18
|
declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
|
|
14
19
|
declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -17,9 +22,13 @@ declare const DialogOverlay: import("react").ForwardRefExoticComponent<Omit<Dial
|
|
|
17
22
|
declare const dialogContentVariants: (props?: ({
|
|
18
23
|
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
19
24
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
20
|
-
interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content
|
|
25
|
+
interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, OverlayPortalProps {
|
|
26
|
+
/** Max-width size preset for dialog surface. */
|
|
21
27
|
size?: DialogSizeValue;
|
|
28
|
+
/** Renders close button in top-right corner. */
|
|
22
29
|
showClose?: boolean;
|
|
30
|
+
/** Renders backdrop overlay behind content. */
|
|
31
|
+
showOverlay?: boolean;
|
|
23
32
|
}
|
|
24
33
|
declare const DialogContent: import("react").ForwardRefExoticComponent<DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
34
|
declare const DialogHeader: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAG1D,OAAO,EACN,KAAK,wBAAwB,EAG7B,KAAK,cAAc,EACnB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AAMf,OAAO,EAAwB,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAK5E,QAAA,MAAM,UAAU;;;;;;CAMN,CAAC;AAEX,KAAK,eAAe,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAMpE,UAAU,eAAgB,SAAQ,wBAAwB,CAAC,OAA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,QAAA,MAAM,WAAW,mNASf,CAAC;AAGH,QAAA,MAAM,iBAAiB,6NASrB,CAAC;AAGH,OAAO,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,UAAU,EACV,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,GACpB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
2
2
|
import { type ComponentPropsWithoutRef } from "react";
|
|
3
|
+
import { type OverlayPortalProps } from "@/contracts";
|
|
3
4
|
declare const Size: {
|
|
4
5
|
readonly sm: "sm";
|
|
5
6
|
readonly md: "md";
|
|
@@ -29,10 +30,7 @@ declare const dropdownMenuSeparatorVariants: (props?: import("class-variance-aut
|
|
|
29
30
|
declare const dropdownMenuShortcutVariants: (props?: ({
|
|
30
31
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
31
32
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
32
|
-
declare const DropdownMenu:
|
|
33
|
-
({ children, open: controlledOpen, defaultOpen, onOpenChange, ...props }: ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
33
|
+
declare const DropdownMenu: import("react").FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
36
34
|
declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
37
35
|
declare const DropdownMenuGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
38
36
|
declare const DropdownMenuPortal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
@@ -41,8 +39,8 @@ declare const DropdownMenuRadioGroup: import("react").ForwardRefExoticComponent<
|
|
|
41
39
|
declare const DropdownMenuSubTrigger: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
42
40
|
inset?: boolean;
|
|
43
41
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
44
|
-
declare const DropdownMenuSubContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
45
|
-
interface DropdownMenuContentProps extends ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content
|
|
42
|
+
declare const DropdownMenuSubContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & OverlayPortalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
43
|
+
interface DropdownMenuContentProps extends ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>, OverlayPortalProps {
|
|
46
44
|
size?: SizeValue;
|
|
47
45
|
}
|
|
48
46
|
declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAGvE,OAAO,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;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AiB1B,CAAC;AAGH,QAAA,MAAM,wBAAwB,6MAsB5B,CAAC;AAGH,QAAA,MAAM,qBAAqB,0MAqBzB,CAAC;AAGH,QAAA,MAAM,iBAAiB;YAEmD,OAAO;kDAY/E,CAAC;AAGH,QAAA,MAAM,qBAAqB,0MASzB,CAAC;AAGH,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAU3F,CAAC;AAGF,OAAO,EACN,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,gCAAgC,EAChC,6BAA6B,EAC7B,yBAAyB,EACzB,6BAA6B,EAC7B,4BAA4B,EAC5B,WAAW,IAAI,uBAAuB,EACtC,KAAK,gBAAgB,IAAI,4BAA4B,EACrD,KAAK,wBAAwB,GAC7B,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Component, type ErrorInfo, type ReactNode } from "react";
|
|
2
2
|
declare const errorBoundaryVariants: (props?: ({
|
|
3
3
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "warning" | "info" | "destructive" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
declare const errorBoundaryIconVariants: (props?: ({
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "warning" | "info" | "destructive" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
declare const errorBoundaryTitleVariants: (props?: ({
|
|
11
11
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
12
|
-
variant?: "
|
|
12
|
+
variant?: "warning" | "info" | "destructive" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
declare const errorBoundaryDescriptionVariants: (props?: ({
|
|
15
15
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
@@ -11,6 +11,10 @@ interface FormFieldContextValue {
|
|
|
11
11
|
error?: string;
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
required: boolean;
|
|
14
|
+
descriptionIds: readonly string[];
|
|
15
|
+
errorIds: readonly string[];
|
|
16
|
+
registerDescriptionId: (id: string) => () => void;
|
|
17
|
+
registerErrorId: (id: string) => () => void;
|
|
14
18
|
}
|
|
15
19
|
declare const useFormField: () => FormFieldContextValue;
|
|
16
20
|
declare const formFieldVariants: (props?: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/form-field.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGN,KAAK,cAAc,EACnB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/form-field.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGN,KAAK,cAAc,EACnB,KAAK,SAAS,EAOd,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD,UAAU,qBAAqB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,SAAS,MAAM,EAAE,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d,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,IAAI,IAAI,aAAa,EACrB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,IAAI,kBAAkB,GACpC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
2
2
|
import { type ComponentPropsWithoutRef } from "react";
|
|
3
|
+
import { type OverlayPortalProps } from "@/contracts";
|
|
3
4
|
declare const HoverCardSize: {
|
|
4
5
|
readonly sm: "sm";
|
|
5
6
|
readonly md: "md";
|
|
@@ -9,9 +10,12 @@ type HoverCardSizeValue = (typeof HoverCardSize)[keyof typeof HoverCardSize];
|
|
|
9
10
|
declare const hoverCardContentVariants: (props?: ({
|
|
10
11
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
11
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
-
declare const HoverCard:
|
|
13
|
+
declare const HoverCard: {
|
|
14
|
+
({ openDelay, closeDelay, ...props }: ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
13
17
|
declare const HoverCardTrigger: import("react").ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
14
|
-
interface HoverCardContentProps extends ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content
|
|
18
|
+
interface HoverCardContentProps extends ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>, OverlayPortalProps {
|
|
15
19
|
size?: HoverCardSizeValue;
|
|
16
20
|
}
|
|
17
21
|
declare const HoverCardContent: import("react").ForwardRefExoticComponent<HoverCardContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../src/components/hover-card/hover-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../../src/components/hover-card/hover-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAKlE,OAAO,EAAwB,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAK5E,QAAA,MAAM,aAAa;;;;CAIT,CAAC;AAEX,KAAK,kBAAkB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E,QAAA,MAAM,wBAAwB;;8EAc7B,CAAC;AAEF,QAAA,MAAM,SAAS;0CAIZ,wBAAwB,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC;;CAS1D,CAAC;AAEF,QAAA,MAAM,gBAAgB,wIAA6B,CAAC;AAEpD,UAAU,qBACT,SAAQ,wBAAwB,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,EAClE,kBAAkB;IACnB,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC1B;AAED,QAAA,MAAM,gBAAgB,kHAsCrB,CAAC;AAGF,OAAO,EACN,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/kbd/kbd.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIxD,OAAO,
|
|
1
|
+
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/kbd/kbd.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAE9D,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD,QAAA,MAAM,WAAW;;8EAchB,CAAC;AAEF,UAAU,QAAS,SAAQ,cAAc,CAAC,WAAW,CAAC;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,GAAG,kGAiBR,CAAC;AAIF,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/label/label.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI7D,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD,QAAA,MAAM,aAAa;;8EAclB,CAAC;AAEF,UAAU,UAAW,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/label/label.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI7D,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD,QAAA,MAAM,aAAa;;8EAclB,CAAC;AAEF,UAAU,UAAW,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IACjE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,KAAK,yGA4BV,CAAC;AAIF,OAAO,EACN,KAAK,EACL,aAAa,EACb,IAAI,IAAI,SAAS,EACjB,KAAK,UAAU,EACf,KAAK,SAAS,IAAI,cAAc,GAChC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type SpinnerProps } from "@/components/spinner";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
interface LoaderProps extends SpinnerProps {
|
|
3
|
+
}
|
|
4
|
+
declare const Loader: import("react").ForwardRefExoticComponent<LoaderProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
4
5
|
export { Loader, type LoaderProps };
|
|
5
6
|
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/components/loader/loader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/components/loader/loader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAElE,UAAU,WAAY,SAAQ,YAAY;CAAG;AAE7C,QAAA,MAAM,MAAM,yGAEV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import type { OverlayPortalProps } from "@/contracts";
|
|
2
3
|
import type { ControlStatus } from "@/lib/types";
|
|
3
4
|
declare const MultiselectSize: {
|
|
4
5
|
readonly sm: "sm";
|
|
@@ -11,12 +12,22 @@ declare const multiselectTriggerVariants: (props?: ({
|
|
|
11
12
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
12
13
|
status?: "default" | "success" | "error" | null | undefined;
|
|
13
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
interface BadgeOverflowInput {
|
|
16
|
+
containerWidth: number;
|
|
17
|
+
badgeWidths: number[];
|
|
18
|
+
getSummaryWidth: (hiddenCount: number) => number;
|
|
19
|
+
gapPx?: number;
|
|
20
|
+
}
|
|
21
|
+
interface BadgeOverflowResult {
|
|
22
|
+
visibleCount: number;
|
|
23
|
+
hiddenCount: number;
|
|
24
|
+
}
|
|
14
25
|
interface MultiselectOption {
|
|
15
26
|
value: string;
|
|
16
27
|
label: string;
|
|
17
28
|
disabled?: boolean;
|
|
18
29
|
}
|
|
19
|
-
interface MultiselectProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "onChange"
|
|
30
|
+
interface MultiselectProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "onChange">, OverlayPortalProps {
|
|
20
31
|
options: MultiselectOption[];
|
|
21
32
|
value?: string[];
|
|
22
33
|
defaultValue?: string[];
|
|
@@ -25,8 +36,11 @@ interface MultiselectProps extends Omit<ComponentPropsWithoutRef<"button">, "val
|
|
|
25
36
|
size?: MultiselectSizeValue;
|
|
26
37
|
status?: ControlStatus;
|
|
27
38
|
clearable?: boolean;
|
|
28
|
-
|
|
39
|
+
open?: boolean;
|
|
40
|
+
defaultOpen?: boolean;
|
|
41
|
+
onOpenChange?: (open: boolean) => void;
|
|
29
42
|
}
|
|
43
|
+
declare const calculateBadgeOverflow: ({ containerWidth, badgeWidths, getSummaryWidth, gapPx, }: BadgeOverflowInput) => BadgeOverflowResult;
|
|
30
44
|
declare const Multiselect: import("react").ForwardRefExoticComponent<MultiselectProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
export { Multiselect, multiselectTriggerVariants, MultiselectSize, type MultiselectProps, type MultiselectOption, type MultiselectSizeValue, };
|
|
45
|
+
export { calculateBadgeOverflow, Multiselect, multiselectTriggerVariants, MultiselectSize, type BadgeOverflowInput, type BadgeOverflowResult, type MultiselectProps, type MultiselectOption, type MultiselectSizeValue, };
|
|
32
46
|
//# sourceMappingURL=multiselect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselect.d.ts","sourceRoot":"","sources":["../../../src/components/multiselect/multiselect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multiselect.d.ts","sourceRoot":"","sources":["../../../src/components/multiselect/multiselect.tsx"],"names":[],"mappings":"AAKA,OAAO,EACN,KAAK,wBAAwB,EAU7B,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAKjD,QAAA,MAAM,eAAe;;;;;CAKX,CAAC;AAEX,KAAK,oBAAoB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEnF,QAAA,MAAM,0BAA0B;;;8EA4B/B,CAAC;AA4DF,UAAU,kBAAkB;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,mBAAmB;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,WA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EACrB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACvB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
2
2
|
import { type ComponentPropsWithoutRef } from "react";
|
|
3
|
-
declare const
|
|
3
|
+
declare const Size: {
|
|
4
4
|
readonly sm: "sm";
|
|
5
5
|
readonly md: "md";
|
|
6
6
|
readonly lg: "lg";
|
|
7
7
|
};
|
|
8
|
-
type
|
|
8
|
+
type SizeValue = (typeof Size)[keyof typeof Size];
|
|
9
9
|
declare const navigationMenuVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
10
|
declare const navigationMenuListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
11
|
declare const navigationMenuTriggerVariants: (props?: ({
|
|
@@ -18,15 +18,16 @@ declare const navigationMenuLinkVariants: (props?: ({
|
|
|
18
18
|
declare const navigationMenuViewportVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
19
19
|
declare const navigationMenuIndicatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
20
20
|
interface NavigationMenuProps extends ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> {
|
|
21
|
-
size?:
|
|
21
|
+
size?: SizeValue;
|
|
22
|
+
viewport?: boolean;
|
|
22
23
|
}
|
|
23
24
|
declare const NavigationMenu: import("react").ForwardRefExoticComponent<NavigationMenuProps & import("react").RefAttributes<HTMLElement>>;
|
|
24
25
|
declare const NavigationMenuList: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & import("react").RefAttributes<HTMLUListElement>, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
25
|
-
declare const NavigationMenuItem: import("react").ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
26
|
+
declare const NavigationMenuItem: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuItemProps & import("react").RefAttributes<HTMLLIElement>, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
26
27
|
declare const NavigationMenuTrigger: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
27
28
|
declare const NavigationMenuContent: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
-
declare const NavigationMenuLink: import("react").ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
29
|
+
declare const NavigationMenuLink: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
29
30
|
declare const NavigationMenuViewport: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
31
|
declare const NavigationMenuIndicator: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
31
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuSize, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuContentVariants, navigationMenuIndicatorVariants, navigationMenuLinkVariants, navigationMenuListVariants, navigationMenuTriggerVariants, navigationMenuVariants, navigationMenuViewportVariants, type NavigationMenuProps, type NavigationMenuSizeValue, };
|
|
32
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, Size as NavigationMenuSize, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuContentVariants, navigationMenuIndicatorVariants, navigationMenuLinkVariants, navigationMenuListVariants, navigationMenuTriggerVariants, navigationMenuVariants, navigationMenuViewportVariants, type NavigationMenuProps, type SizeValue as NavigationMenuSizeValue, };
|
|
32
33
|
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/navigation-menu/navigation-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAE3E,OAAO,EAAE,KAAK,wBAAwB,EAAyC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/navigation-menu/navigation-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAE3E,OAAO,EAAE,KAAK,wBAAwB,EAAyC,MAAM,OAAO,CAAC;AAK7F,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAIlD,QAAA,MAAM,sBAAsB,oFAE3B,CAAC;AAEF,QAAA,MAAM,0BAA0B,oFAE/B,CAAC;AAEF,QAAA,MAAM,6BAA6B;;8EAqBlC,CAAC;AAEF,QAAA,MAAM,6BAA6B,oFAGjC,CAAC;AAEH,QAAA,MAAM,0BAA0B;;8EAoB/B,CAAC;AAEF,QAAA,MAAM,8BAA8B,oFAGlC,CAAC;AAEH,QAAA,MAAM,+BAA+B,oFAEnC,CAAC;AAoBH,UAAU,mBACT,SAAQ,wBAAwB,CAAC,OAAO,uBAAuB,CAAC,IAAI,CAAC;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,cAAc,6GAmBlB,CAAC;AAGH,QAAA,MAAM,kBAAkB,6MAStB,CAAC;AAGH,QAAA,MAAM,kBAAkB,uMAKtB,CAAC;AAGH,QAAA,MAAM,qBAAqB,kNAgBzB,CAAC;AAGH,QAAA,MAAM,qBAAqB,4MASzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,+MAatB,CAAC;AAGH,QAAA,MAAM,sBAAsB,6MAY1B,CAAC;AAGH,QAAA,MAAM,uBAAuB,8MAY3B,CAAC;AAGH,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,IAAI,IAAI,kBAAkB,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,+BAA+B,EAC/B,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,sBAAsB,EACtB,8BAA8B,EAC9B,KAAK,mBAAmB,EACxB,KAAK,SAAS,IAAI,uBAAuB,GACzC,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const otpSlotVariants: (props?: ({
|
|
|
25
25
|
focused?: boolean | null | undefined;
|
|
26
26
|
status?: "default" | "success" | "error" | null | undefined;
|
|
27
27
|
disabled?: boolean | null | undefined;
|
|
28
|
-
position?: "single" | "
|
|
28
|
+
position?: "single" | "middle" | "last" | "first" | null | undefined;
|
|
29
29
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
30
30
|
declare const otpInputVariants: (props?: ({
|
|
31
31
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type OverlayContextValue, type OverlayDialogOptions, type OverlayHandle, OverlayProvider, type OverlayProviderProps, type OverlaySheetOptions, useOverlay, } from "./overlay";
|
|
1
|
+
export { OVERLAY_REMOVE_DELAY_DEFAULT, type OverlayComponentProps, type OverlayContextValue, type OverlayDialogOptions, type OverlayHandle, OverlayProvider, type OverlayProviderProps, type OverlaySheetOptions, useOverlay, } from "./overlay";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,UAAU,GACV,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,4BAA4B,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,UAAU,GACV,MAAM,WAAW,CAAC"}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { type ComponentType, type ReactNode } from "react";
|
|
2
2
|
import { type DialogContentProps } from "@/components/dialog";
|
|
3
3
|
import { type SheetContentProps } from "@/components/sheet";
|
|
4
|
+
type OverlayCloseFn = () => void;
|
|
5
|
+
interface OverlayComponentProps {
|
|
6
|
+
close: OverlayCloseFn;
|
|
7
|
+
}
|
|
4
8
|
interface OverlayHandle {
|
|
5
9
|
id: string;
|
|
6
|
-
close:
|
|
10
|
+
close: OverlayCloseFn;
|
|
7
11
|
}
|
|
8
12
|
interface OverlayDialogOptions extends Omit<DialogContentProps, "children"> {
|
|
9
13
|
}
|
|
10
14
|
interface OverlaySheetOptions extends Omit<SheetContentProps, "children"> {
|
|
11
15
|
}
|
|
12
16
|
interface OverlayContextValue {
|
|
13
|
-
dialog: <P extends Record<string, unknown>>(component: ComponentType<P &
|
|
14
|
-
|
|
15
|
-
}>, props: P, options?: OverlayDialogOptions) => OverlayHandle;
|
|
16
|
-
sheet: <P extends Record<string, unknown>>(component: ComponentType<P & {
|
|
17
|
-
close: () => void;
|
|
18
|
-
}>, props: P, options?: OverlaySheetOptions) => OverlayHandle;
|
|
17
|
+
dialog: <P extends Record<string, unknown>>(component: ComponentType<P & OverlayComponentProps>, props: P, options?: OverlayDialogOptions) => OverlayHandle;
|
|
18
|
+
sheet: <P extends Record<string, unknown>>(component: ComponentType<P & OverlayComponentProps>, props: P, options?: OverlaySheetOptions) => OverlayHandle;
|
|
19
19
|
close: (id: string) => void;
|
|
20
20
|
closeAll: () => void;
|
|
21
21
|
}
|
|
22
|
+
declare const OVERLAY_REMOVE_DELAY_DEFAULT = 250;
|
|
22
23
|
interface OverlayProviderProps {
|
|
23
24
|
children: ReactNode;
|
|
25
|
+
removeDelay?: number;
|
|
24
26
|
}
|
|
25
|
-
declare function OverlayProvider({ children }: OverlayProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function OverlayProvider({ children, removeDelay, }: OverlayProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
26
28
|
declare namespace OverlayProvider {
|
|
27
29
|
var displayName: string;
|
|
28
30
|
}
|
|
29
31
|
declare function useOverlay(): OverlayContextValue;
|
|
30
|
-
export { OverlayProvider, useOverlay, type OverlayContextValue, type OverlayDialogOptions, type OverlayHandle, type OverlayProviderProps, type OverlaySheetOptions, };
|
|
32
|
+
export { OVERLAY_REMOVE_DELAY_DEFAULT, OverlayProvider, useOverlay, type OverlayComponentProps, type OverlayContextValue, type OverlayDialogOptions, type OverlayHandle, type OverlayProviderProps, type OverlaySheetOptions, };
|
|
31
33
|
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,aAAa,EAGlB,KAAK,SAAS,EAOd,MAAM,OAAO,CAAC;AACf,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,KAAK,cAAc,GAAG,MAAM,IAAI,CAAC;AAEjC,UAAU,qBAAqB;IAC9B,KAAK,EAAE,cAAc,CAAC;CACtB;AAED,UAAU,aAAa;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,cAAc,CAAC;CACtB;AAED,UAAU,oBAAqB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC;CAAG;AAE9E,UAAU,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC;CAAG;AAE5E,UAAU,mBAAmB;IAC5B,MAAM,EAAE,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzC,SAAS,EAAE,aAAa,CAAC,CAAC,GAAG,qBAAqB,CAAC,EACnD,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,oBAAoB,KAC1B,aAAa,CAAC;IACnB,KAAK,EAAE,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACxC,SAAS,EAAE,aAAa,CAAC,CAAC,GAAG,qBAAqB,CAAC,EACnD,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,mBAAmB,KACzB,aAAa,CAAC;IACnB,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAwBD,QAAA,MAAM,4BAA4B,MAAM,CAAC;AAEzC,UAAU,oBAAoB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iBAAS,eAAe,CAAC,EACxB,QAAQ,EACR,WAA0C,GAC1C,EAAE,oBAAoB,2CA6JtB;kBAhKQ,eAAe;;;AA2LxB,iBAAS,UAAU,IAAI,mBAAmB,CAMzC;AAED,OAAO,EACN,4BAA4B,EAC5B,eAAe,EACf,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACxB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const OVERLAY_PORTAL_DEFAULT = true;
|
|
2
|
+
declare const OVERLAY_SIDE_OFFSET_DEFAULT = 4;
|
|
3
|
+
declare const OVERLAY_BACKDROP_CLASS = "fixed inset-0 z-50 bg-black/50";
|
|
4
|
+
declare const OVERLAY_CLOSE_BUTTON_CLASS = "transition-[color,background-color,border-color,box-shadow,transform,opacity,filter] duration-[var(--motion-duration-medium)] ease-[var(--motion-ease-standard)] absolute top-4 right-4 rounded-[var(--radius)] border border-border p-1.5 text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none";
|
|
5
|
+
export { OVERLAY_BACKDROP_CLASS, OVERLAY_CLOSE_BUTTON_CLASS, OVERLAY_PORTAL_DEFAULT, OVERLAY_SIDE_OFFSET_DEFAULT, };
|
|
6
|
+
//# sourceMappingURL=overlay.shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.shared.d.ts","sourceRoot":"","sources":["../../../src/components/overlay/overlay.shared.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,sBAAsB,OAAO,CAAC;AACpC,QAAA,MAAM,2BAA2B,IAAI,CAAC;AACtC,QAAA,MAAM,sBAAsB,mCAAmC,CAAC;AAChE,QAAA,MAAM,0BAA0B,4aAC0Y,CAAC;AAE3a,OAAO,EACN,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,GAC3B,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
2
2
|
import { type ComponentPropsWithoutRef } from "react";
|
|
3
|
+
import { type OverlayPortalProps } from "@/contracts";
|
|
3
4
|
declare const PopoverSize: {
|
|
4
5
|
readonly sm: "sm";
|
|
5
6
|
readonly md: "md";
|
|
6
7
|
readonly lg: "lg";
|
|
8
|
+
readonly xl: "xl";
|
|
7
9
|
};
|
|
8
10
|
type PopoverSizeValue = (typeof PopoverSize)[keyof typeof PopoverSize];
|
|
9
11
|
declare const popoverContentVariants: (props?: ({
|
|
10
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
12
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
11
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
14
|
declare const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
13
15
|
declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
16
|
declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
17
|
declare const PopoverClose: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
interface PopoverContentProps extends ComponentPropsWithoutRef<typeof PopoverPrimitive.Content
|
|
17
|
-
portal?: boolean;
|
|
18
|
-
portalContainer?: HTMLElement | null;
|
|
18
|
+
interface PopoverContentProps extends ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>, OverlayPortalProps {
|
|
19
19
|
size?: PopoverSizeValue;
|
|
20
20
|
}
|
|
21
21
|
declare const PopoverContent: import("react").ForwardRefExoticComponent<PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAKlE,OAAO,EAAwB,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAI5E,QAAA,MAAM,WAAW;;;;;CAKP,CAAC;AAEX,KAAK,gBAAgB,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEvE,QAAA,MAAM,sBAAsB;;8EAe3B,CAAC;AAEF,QAAA,MAAM,OAAO,mDAAwB,CAAC;AACtC,QAAA,MAAM,cAAc,oIAA2B,CAAC;AAChD,QAAA,MAAM,aAAa,gIAA0B,CAAC;AAC9C,QAAA,MAAM,YAAY,kIAAyB,CAAC;AAE5C,UAAU,mBACT,SAAQ,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAChE,kBAAkB;IACnB,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,gHAsCnB,CAAC;AAGF,OAAO,EACN,OAAO,EACP,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,cAAc,EACd,sBAAsB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACrB,CAAC"}
|
|
@@ -21,8 +21,11 @@ declare const progressIndicatorVariants: (props?: ({
|
|
|
21
21
|
variant?: "default" | "success" | "warning" | "error" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
23
|
interface ProgressProps extends ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
24
|
+
/** Progress track size preset. */
|
|
24
25
|
size?: SizeValue;
|
|
26
|
+
/** Indicator color variant. */
|
|
25
27
|
variant?: VariantValue;
|
|
28
|
+
/** Shows numeric percentage near the bar. */
|
|
26
29
|
showValue?: boolean;
|
|
27
30
|
}
|
|
28
31
|
declare const Progress: import("react").ForwardRefExoticComponent<ProgressProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/progress/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/progress/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EACN,KAAK,wBAAwB,EAK7B,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,IAAI;;;;;CAKA,CAAC;AAEX,QAAA,MAAM,OAAO;;;;;CAKH,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAClD,KAAK,YAAY,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE3D,QAAA,MAAM,gBAAgB;;8EAYpB,CAAC;AAEH,QAAA,MAAM,yBAAyB;;8EAe9B,CAAC;AAEF,UAAU,aAAc,SAAQ,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IACtF,kCAAkC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AASD,QAAA,MAAM,QAAQ,0GAqCb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -16,7 +16,7 @@ interface ResizablePanelGroupProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
}
|
|
18
18
|
declare const ResizablePanelGroup: import("react").ForwardRefExoticComponent<ResizablePanelGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
interface ResizablePanelProps extends ComponentPropsWithoutRef<"div"> {
|
|
19
|
+
interface ResizablePanelProps extends Omit<ComponentPropsWithoutRef<"div">, "style"> {
|
|
20
20
|
defaultSize?: number;
|
|
21
21
|
minSize?: number;
|
|
22
22
|
maxSize?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-panel.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-panel/resizable-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"resizable-panel.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-panel/resizable-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,wBAAwB,EAI7B,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AAGf,KAAK,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAY3C,QAAA,MAAM,2BAA2B;;8EAU/B,CAAC;AAEH,QAAA,MAAM,sBAAsB,oFAE3B,CAAC;AAEF,QAAA,MAAM,uBAAuB;;;8EAsB5B,CAAC;AAEF,QAAA,MAAM,2BAA2B;;8EAahC,CAAC;AAiHF,UAAU,wBAAyB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACzE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,mBAAmB,qHAYxB,CAAC;AAGF,UAAU,mBAAoB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,gHAqCnB,CAAC;AAGF,UAAU,oBAAqB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,eAAe,iHAkJpB,CAAC;AAGF,OAAO,EACN,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAKnE,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAKnE,QAAA,MAAM,kBAAkB,oFAAgD,CAAC;AAEzE,QAAA,MAAM,iBAAiB;;8EAUrB,CAAC;AAEH,QAAA,MAAM,sBAAsB,oFAAgD,CAAC;AAE7E,QAAA,MAAM,UAAU,6LAWd,CAAC;AAGH,QAAA,MAAM,SAAS,sMAYb,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -36,5 +36,10 @@ interface SegmentedControlLabelItemProps extends Omit<HTMLAttributes<HTMLButtonE
|
|
|
36
36
|
disabled?: boolean;
|
|
37
37
|
}
|
|
38
38
|
declare const SegmentedControlLabelItem: import("react").ForwardRefExoticComponent<SegmentedControlLabelItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
39
|
-
|
|
39
|
+
declare const SegmentedControlSize: {
|
|
40
|
+
readonly sm: "sm";
|
|
41
|
+
readonly md: "md";
|
|
42
|
+
readonly lg: "lg";
|
|
43
|
+
};
|
|
44
|
+
export { SegmentedControl, SegmentedControlItem, SegmentedControlLabelItem, SegmentedControlSize, segmentedControlVariants, segmentedControlItemVariants, segmentedControlLabelVariants, type SegmentedControlProps, type SegmentedControlItemProps, type SegmentedControlLabelItemProps, type SizeValue as SegmentedControlSizeValue, };
|
|
40
45
|
//# sourceMappingURL=segmented-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGN,KAAK,cAAc,EACnB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../src/components/segmented-control/segmented-control.tsx"],"names":[],"mappings":"AAGA,OAAO,EAGN,KAAK,cAAc,EACnB,KAAK,SAAS,EAKd,MAAM,OAAO,CAAC;AAMf,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAA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