@snapcall/design-system 1.1.0 → 1.1.1

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/index.d.mts CHANGED
@@ -1,10 +1,8 @@
1
1
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
2
  import * as react from 'react';
3
- import { ReactElement, SVGProps } from 'react';
3
+ import { SVGProps } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
- import { OverlayTriggerState, useOverlayTriggerState } from 'react-stately';
7
- import { AriaTextFieldProps } from 'react-aria';
8
6
  import * as TabsPrimitive from '@radix-ui/react-tabs';
9
7
 
10
8
  declare const buttonVariants: (props?: ({
@@ -27,19 +25,6 @@ interface BadgeProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'>
27
25
  }
28
26
  declare function Badge({ className, variant, color, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
29
27
 
30
- interface DrawerProps {
31
- state: OverlayTriggerState;
32
- placement?: 'top' | 'right' | 'bottom' | 'left';
33
- container?: Element;
34
- children: ReactElement | ((close: () => void) => ReactElement);
35
- }
36
- declare const Drawer: ({ state, placement, container, children, ...props }: DrawerProps) => react_jsx_runtime.JSX.Element | null;
37
- declare const useDrawerState: typeof useOverlayTriggerState;
38
-
39
- interface TextFieldProps extends AriaTextFieldProps {
40
- }
41
- declare const TextField: (props: TextFieldProps) => react_jsx_runtime.JSX.Element;
42
-
43
28
  declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & react.RefAttributes<HTMLDivElement>>;
44
29
  declare const TabsList: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
45
30
  declare const TabsTrigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
@@ -209,4 +194,4 @@ declare const XCircleIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"
209
194
 
210
195
  declare const XCloseIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
211
196
 
212
- export { ActivityIcon, AlertCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, BadgeProps, BellIcon, Button, ButtonProps, CalendarCheckIcon, CalendarIcon, CalendarPlusIcon, CameraIcon, CameraOffIcon, CheckCircleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CopyIcon, CursorClickIcon, DownloadIcon, Drawer, DrawerProps, EditIcon, ExpandIcon, FlipBackwardIcon, FlipForwardIcon, HelpCircleIcon, HomeIcon, ImageDownIcon, ImageIcon, ImageXIcon, InfoCircleIcon, LightbulbIcon, LockIcon, LogInIcon, MagicWandIcon, MailIcon, MenuIcon, MessageChatSquareIcon, MessagePlusSquareIcon, MessageTextSquareIcon, MicrophoneIcon, MicrophoneOffIcon, MonitorIcon, NotificationBoxIcon, PauseCircleIcon, PhoneIcon, PieChartIcon, PlayCircleIcon, PlusCircleIcon, PlusIcon, PuzzlePieceIcon, QrCodeIcon, ReceiptCheckIcon, RecordingIcon, RefreshCcwIcon, RefreshCwIcon, RocketIcon, SaveIcon, SearchMdIcon, SendIcon, SettingsIcon, ShareIcon, SkipBackIcon, SkipForwardIcon, StarsIcon, Tabs, TabsContent, TabsList, TabsTrigger, TextField, TextFieldProps, TrashIcon, TrendDownIcon, TrendUpIcon, UserIcon, UserPlusIcon, UserXIcon, UsersIcon, UsersPlusIcon, UsersXIcon, VideoRecorderIcon, VideoRecorderOffIcon, VolumeMaxIcon, VolumeXIcon, XCircleIcon, XCloseIcon, useDrawerState };
197
+ export { ActivityIcon, AlertCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, BadgeProps, BellIcon, Button, ButtonProps, CalendarCheckIcon, CalendarIcon, CalendarPlusIcon, CameraIcon, CameraOffIcon, CheckCircleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CopyIcon, CursorClickIcon, DownloadIcon, EditIcon, ExpandIcon, FlipBackwardIcon, FlipForwardIcon, HelpCircleIcon, HomeIcon, ImageDownIcon, ImageIcon, ImageXIcon, InfoCircleIcon, LightbulbIcon, LockIcon, LogInIcon, MagicWandIcon, MailIcon, MenuIcon, MessageChatSquareIcon, MessagePlusSquareIcon, MessageTextSquareIcon, MicrophoneIcon, MicrophoneOffIcon, MonitorIcon, NotificationBoxIcon, PauseCircleIcon, PhoneIcon, PieChartIcon, PlayCircleIcon, PlusCircleIcon, PlusIcon, PuzzlePieceIcon, QrCodeIcon, ReceiptCheckIcon, RecordingIcon, RefreshCcwIcon, RefreshCwIcon, RocketIcon, SaveIcon, SearchMdIcon, SendIcon, SettingsIcon, ShareIcon, SkipBackIcon, SkipForwardIcon, StarsIcon, Tabs, TabsContent, TabsList, TabsTrigger, TrashIcon, TrendDownIcon, TrendUpIcon, UserIcon, UserPlusIcon, UserXIcon, UsersIcon, UsersPlusIcon, UsersXIcon, VideoRecorderIcon, VideoRecorderOffIcon, VolumeMaxIcon, VolumeXIcon, XCircleIcon, XCloseIcon };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
2
  import * as react from 'react';
3
- import { ReactElement, SVGProps } from 'react';
3
+ import { SVGProps } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
- import { OverlayTriggerState, useOverlayTriggerState } from 'react-stately';
7
- import { AriaTextFieldProps } from 'react-aria';
8
6
  import * as TabsPrimitive from '@radix-ui/react-tabs';
9
7
 
10
8
  declare const buttonVariants: (props?: ({
@@ -27,19 +25,6 @@ interface BadgeProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'>
27
25
  }
28
26
  declare function Badge({ className, variant, color, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
29
27
 
30
- interface DrawerProps {
31
- state: OverlayTriggerState;
32
- placement?: 'top' | 'right' | 'bottom' | 'left';
33
- container?: Element;
34
- children: ReactElement | ((close: () => void) => ReactElement);
35
- }
36
- declare const Drawer: ({ state, placement, container, children, ...props }: DrawerProps) => react_jsx_runtime.JSX.Element | null;
37
- declare const useDrawerState: typeof useOverlayTriggerState;
38
-
39
- interface TextFieldProps extends AriaTextFieldProps {
40
- }
41
- declare const TextField: (props: TextFieldProps) => react_jsx_runtime.JSX.Element;
42
-
43
28
  declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & react.RefAttributes<HTMLDivElement>>;
44
29
  declare const TabsList: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
45
30
  declare const TabsTrigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
@@ -209,4 +194,4 @@ declare const XCircleIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"
209
194
 
210
195
  declare const XCloseIcon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
211
196
 
212
- export { ActivityIcon, AlertCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, BadgeProps, BellIcon, Button, ButtonProps, CalendarCheckIcon, CalendarIcon, CalendarPlusIcon, CameraIcon, CameraOffIcon, CheckCircleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CopyIcon, CursorClickIcon, DownloadIcon, Drawer, DrawerProps, EditIcon, ExpandIcon, FlipBackwardIcon, FlipForwardIcon, HelpCircleIcon, HomeIcon, ImageDownIcon, ImageIcon, ImageXIcon, InfoCircleIcon, LightbulbIcon, LockIcon, LogInIcon, MagicWandIcon, MailIcon, MenuIcon, MessageChatSquareIcon, MessagePlusSquareIcon, MessageTextSquareIcon, MicrophoneIcon, MicrophoneOffIcon, MonitorIcon, NotificationBoxIcon, PauseCircleIcon, PhoneIcon, PieChartIcon, PlayCircleIcon, PlusCircleIcon, PlusIcon, PuzzlePieceIcon, QrCodeIcon, ReceiptCheckIcon, RecordingIcon, RefreshCcwIcon, RefreshCwIcon, RocketIcon, SaveIcon, SearchMdIcon, SendIcon, SettingsIcon, ShareIcon, SkipBackIcon, SkipForwardIcon, StarsIcon, Tabs, TabsContent, TabsList, TabsTrigger, TextField, TextFieldProps, TrashIcon, TrendDownIcon, TrendUpIcon, UserIcon, UserPlusIcon, UserXIcon, UsersIcon, UsersPlusIcon, UsersXIcon, VideoRecorderIcon, VideoRecorderOffIcon, VolumeMaxIcon, VolumeXIcon, XCircleIcon, XCloseIcon, useDrawerState };
197
+ export { ActivityIcon, AlertCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, BadgeProps, BellIcon, Button, ButtonProps, CalendarCheckIcon, CalendarIcon, CalendarPlusIcon, CameraIcon, CameraOffIcon, CheckCircleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CopyIcon, CursorClickIcon, DownloadIcon, EditIcon, ExpandIcon, FlipBackwardIcon, FlipForwardIcon, HelpCircleIcon, HomeIcon, ImageDownIcon, ImageIcon, ImageXIcon, InfoCircleIcon, LightbulbIcon, LockIcon, LogInIcon, MagicWandIcon, MailIcon, MenuIcon, MessageChatSquareIcon, MessagePlusSquareIcon, MessageTextSquareIcon, MicrophoneIcon, MicrophoneOffIcon, MonitorIcon, NotificationBoxIcon, PauseCircleIcon, PhoneIcon, PieChartIcon, PlayCircleIcon, PlusCircleIcon, PlusIcon, PuzzlePieceIcon, QrCodeIcon, ReceiptCheckIcon, RecordingIcon, RefreshCcwIcon, RefreshCwIcon, RocketIcon, SaveIcon, SearchMdIcon, SendIcon, SettingsIcon, ShareIcon, SkipBackIcon, SkipForwardIcon, StarsIcon, Tabs, TabsContent, TabsList, TabsTrigger, TrashIcon, TrendDownIcon, TrendUpIcon, UserIcon, UserPlusIcon, UserXIcon, UsersIcon, UsersPlusIcon, UsersXIcon, VideoRecorderIcon, VideoRecorderOffIcon, VolumeMaxIcon, VolumeXIcon, XCircleIcon, XCloseIcon };