caplink-saas-ui-shared-component-library 1.5.0 → 1.7.0

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.
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
@@ -0,0 +1 @@
1
+ export { Checkbox } from './checkbox';
@@ -0,0 +1 @@
1
+ export { Popover } from './popover';
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
+ declare const PopoverRoot: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { PopoverRoot, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const Popover: {
3
+ Root: import('react').FC<import('@radix-ui/react-popover').PopoverProps>;
4
+ Trigger: import('react').ForwardRefExoticComponent<import('@radix-ui/react-popover').PopoverTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
5
+ Content: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-popover').PopoverContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
6
+ };
@@ -0,0 +1 @@
1
+ export { Radio } from './radio-group';
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Radio: {
3
+ Group: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
4
+ Item: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
5
+ };
@@ -0,0 +1 @@
1
+ export { Switch } from './switch';
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
3
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Switch };
@@ -0,0 +1 @@
1
+ export { Tooltip } from './tooltip';
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
+ declare const TooltipRoot: React.FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { TooltipRoot, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -0,0 +1,10 @@
1
+ import { ForwardedRef, HTMLAttributes, ReactNode } from 'react';
2
+ import { TooltipProviderProps, TooltipProps as TooltipPrimitiveProps, TooltipContentProps } from '@radix-ui/react-tooltip';
3
+ type TooltipProps = {
4
+ content: ReactNode;
5
+ } & TooltipProviderProps & TooltipPrimitiveProps & TooltipContentProps & HTMLAttributes<HTMLDivElement>;
6
+ export declare function TooltipComponent(props: TooltipProps, ref: ForwardedRef<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
7
+ export declare const Tooltip: import('react').ForwardRefExoticComponent<{
8
+ content: ReactNode;
9
+ } & TooltipProviderProps & TooltipPrimitiveProps & TooltipContentProps & HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
10
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
+ import { Tooltip } from './components/tooltip';
2
+ import { Popover } from './components/popover';
3
+ import { Radio } from './components/radio-group';
4
+ import { Checkbox } from './components/checkbox';
1
5
  import { Alert, AlertProps, alertVariants } from './components/alert';
2
6
  import { ProgressBar, ProgressBarProps } from './components/progress-bar';
3
7
  import { Button, ButtonProps, buttonVariants } from './components/button';
@@ -27,7 +31,7 @@ import { CapLinkProvider } from './providers';
27
31
  import { IconTextButtonProps } from './shared/ui/icon-text-button';
28
32
  import { Badge, BadgeProps } from './shared/ui/badge';
29
33
  import { CustomPaginationProps } from './components/pagination';
30
- export { Alert, alertVariants, ProgressBar, Button, buttonVariants, AlertBanner, Sheet, CopyTextButton, Dialog, ToastProvider, Toaster, useToast, IconButton, iconButtonVariants, };
34
+ export { Tooltip, Popover, Radio, Checkbox, Alert, alertVariants, ProgressBar, Button, buttonVariants, AlertBanner, Sheet, CopyTextButton, Dialog, ToastProvider, Toaster, useToast, IconButton, iconButtonVariants, };
31
35
  export type { AlertProps, ProgressBarProps, ButtonProps, AlertBannerProps, SheetProps, SheetContentProps, CopyTextButtonProps, DialogProps, DialogContentProps, ToastFnProps, IconButtonProps, };
32
36
  export declare const CapLink: {
33
37
  Spreadsheet: typeof Spreadsheet;