caplink-saas-ui-shared-component-library 1.6.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 { 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 };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import { Tooltip } from './components/tooltip';
2
2
  import { Popover } from './components/popover';
3
+ import { Radio } from './components/radio-group';
4
+ import { Checkbox } from './components/checkbox';
3
5
  import { Alert, AlertProps, alertVariants } from './components/alert';
4
6
  import { ProgressBar, ProgressBarProps } from './components/progress-bar';
5
7
  import { Button, ButtonProps, buttonVariants } from './components/button';
@@ -29,7 +31,7 @@ import { CapLinkProvider } from './providers';
29
31
  import { IconTextButtonProps } from './shared/ui/icon-text-button';
30
32
  import { Badge, BadgeProps } from './shared/ui/badge';
31
33
  import { CustomPaginationProps } from './components/pagination';
32
- export { Tooltip, Popover, 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, };
33
35
  export type { AlertProps, ProgressBarProps, ButtonProps, AlertBannerProps, SheetProps, SheetContentProps, CopyTextButtonProps, DialogProps, DialogContentProps, ToastFnProps, IconButtonProps, };
34
36
  export declare const CapLink: {
35
37
  Spreadsheet: typeof Spreadsheet;