@ryanodd/design-system 0.1.0-dev6 → 0.1.0-dev7

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.
@@ -25,6 +25,10 @@ export declare const Button: ForwardRefExoticComponent<Omit<DetailedHTMLProps<Bu
25
25
 
26
26
  export declare type ButtonProps = ComponentPropsWithoutRef<"button"> & Props;
27
27
 
28
+ export declare const Calendar: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
29
+ size?: (typeof iconSizes)[number];
30
+ } & RefAttributes<SVGSVGElement>>;
31
+
28
32
  export declare const Check: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
29
33
  size?: (typeof iconSizes)[number];
30
34
  } & RefAttributes<SVGSVGElement>>;
@@ -46,18 +50,27 @@ export declare const Close: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElemen
46
50
  size?: (typeof iconSizes)[number];
47
51
  } & RefAttributes<SVGSVGElement>>;
48
52
 
53
+ export declare const Coffee: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
54
+ size?: (typeof iconSizes)[number];
55
+ } & RefAttributes<SVGSVGElement>>;
56
+
49
57
  export declare const createIcon: (SVG: ComponentType<HTMLAttributes<SVGSVGElement>>, label: string) => ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
50
58
  size?: (typeof iconSizes)[number];
51
59
  } & RefAttributes<SVGSVGElement>>;
52
60
 
53
- export declare const Dialog: ({ trigger, children, title, ...props }: DialogProps) => JSX.Element;
61
+ export declare const Dialog: ({ trigger, children, title, size, ...props }: DialogProps) => JSX.Element;
54
62
 
55
63
  export declare type DialogProps = RadixDialog.DialogProps & {
56
64
  title: ReactNode;
57
65
  trigger: ReactNode;
58
66
  children: ReactNode;
67
+ size?: DialogSize;
59
68
  };
60
69
 
70
+ export declare type DialogSize = typeof dialogSizes[number];
71
+
72
+ export declare const dialogSizes: string[];
73
+
61
74
  export declare const ExternalLink: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
62
75
  size?: (typeof iconSizes)[number];
63
76
  } & RefAttributes<SVGSVGElement>>;
@@ -82,14 +95,30 @@ export declare type IconProps = ComponentPropsWithoutRef<"svg"> & {
82
95
 
83
96
  export declare const iconSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
84
97
 
98
+ export declare const Inbox: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
99
+ size?: (typeof iconSizes)[number];
100
+ } & RefAttributes<SVGSVGElement>>;
101
+
85
102
  export declare const Kebab: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
86
103
  size?: (typeof iconSizes)[number];
87
104
  } & RefAttributes<SVGSVGElement>>;
88
105
 
106
+ export declare const Lamp: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
107
+ size?: (typeof iconSizes)[number];
108
+ } & RefAttributes<SVGSVGElement>>;
109
+
89
110
  export declare const Lightning: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
90
111
  size?: (typeof iconSizes)[number];
91
112
  } & RefAttributes<SVGSVGElement>>;
92
113
 
114
+ export declare const LogIn: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
115
+ size?: (typeof iconSizes)[number];
116
+ } & RefAttributes<SVGSVGElement>>;
117
+
118
+ export declare const LogOut: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
119
+ size?: (typeof iconSizes)[number];
120
+ } & RefAttributes<SVGSVGElement>>;
121
+
93
122
  export declare const Mail: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
94
123
  size?: (typeof iconSizes)[number];
95
124
  } & RefAttributes<SVGSVGElement>>;
@@ -100,10 +129,11 @@ size?: (typeof iconSizes)[number];
100
129
 
101
130
  export declare const MenuButton: ({ children, trigger, ...props }: MenuButtonProps) => JSX.Element;
102
131
 
103
- export declare const MenuButtonItem: ({ children, ...props }: MenuButtonItemProps) => JSX.Element;
132
+ export declare const MenuButtonItem: ({ children, icon, ...props }: MenuButtonItemProps) => JSX.Element;
104
133
 
105
134
  export declare type MenuButtonItemProps = React.ComponentPropsWithoutRef<typeof RadixMenuButton.Item> & {
106
135
  children: ReactNode;
136
+ icon?: keyof typeof IconMap;
107
137
  };
108
138
 
109
139
  export declare type MenuButtonProps = React.ComponentPropsWithoutRef<typeof RadixMenuButton.Root> & {
@@ -119,6 +149,10 @@ export declare const Pencil: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGEleme
119
149
  size?: (typeof iconSizes)[number];
120
150
  } & RefAttributes<SVGSVGElement>>;
121
151
 
152
+ export declare const Plus: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
153
+ size?: (typeof iconSizes)[number];
154
+ } & RefAttributes<SVGSVGElement>>;
155
+
122
156
  declare type Props = {
123
157
  children?: ReactNode;
124
158
  size?: "small" | "medium" | "large";
@@ -137,6 +171,10 @@ declare type Props = {
137
171
  trailingIcon?: keyof typeof IconMap;
138
172
  };
139
173
 
174
+ export declare const Signpost: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
175
+ size?: (typeof iconSizes)[number];
176
+ } & RefAttributes<SVGSVGElement>>;
177
+
140
178
  export declare const Spinner: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
141
179
  /**
142
180
  * Indicates the diameter (height/width) of the `Spinner`'s container
@@ -153,6 +191,10 @@ export declare type SpinnerProps = ComponentPropsWithoutRef<"div"> & {
153
191
 
154
192
  export declare type SpinnerSize = typeof iconSizes[number];
155
193
 
194
+ export declare const SunMoon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
195
+ size?: (typeof iconSizes)[number];
196
+ } & RefAttributes<SVGSVGElement>>;
197
+
156
198
  export declare const Toast: ForwardRefExoticComponent<RadixToast.ToastProps & {
157
199
  toastTitle: ReactNode;
158
200
  toastDescription?: ReactNode;