@ryanodd/design-system 0.2.0 → 0.2.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/cjs/index.js +12 -12
- package/dist/esm/index.d.ts +16 -2
- package/dist/esm/index.js +976 -913
- package/dist/index.css +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -169,6 +169,9 @@ export declare const IconMap: {
|
|
|
169
169
|
LogIn: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
170
170
|
size?: (typeof iconSizes)[number];
|
|
171
171
|
} & RefAttributes<SVGSVGElement>>;
|
|
172
|
+
LogoGoogle: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
173
|
+
size?: (typeof iconSizes)[number];
|
|
174
|
+
} & RefAttributes<SVGSVGElement>>;
|
|
172
175
|
LogOut: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
173
176
|
size?: (typeof iconSizes)[number];
|
|
174
177
|
} & RefAttributes<SVGSVGElement>>;
|
|
@@ -190,13 +193,16 @@ export declare const IconMap: {
|
|
|
190
193
|
Signpost: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
191
194
|
size?: (typeof iconSizes)[number];
|
|
192
195
|
} & RefAttributes<SVGSVGElement>>;
|
|
196
|
+
Sun: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
197
|
+
size?: (typeof iconSizes)[number];
|
|
198
|
+
} & RefAttributes<SVGSVGElement>>;
|
|
193
199
|
SunMoon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
194
200
|
size?: (typeof iconSizes)[number];
|
|
195
201
|
} & RefAttributes<SVGSVGElement>>;
|
|
196
202
|
};
|
|
197
203
|
|
|
198
204
|
export declare type IconProps = ComponentPropsWithoutRef<"svg"> & {
|
|
199
|
-
size?: typeof iconSizes[number];
|
|
205
|
+
size?: (typeof iconSizes)[number];
|
|
200
206
|
};
|
|
201
207
|
|
|
202
208
|
export declare const iconSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl"];
|
|
@@ -225,6 +231,10 @@ export declare const LogIn: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElemen
|
|
|
225
231
|
size?: (typeof iconSizes)[number];
|
|
226
232
|
} & RefAttributes<SVGSVGElement>>;
|
|
227
233
|
|
|
234
|
+
export declare const LogoGoogle: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
235
|
+
size?: (typeof iconSizes)[number];
|
|
236
|
+
} & RefAttributes<SVGSVGElement>>;
|
|
237
|
+
|
|
228
238
|
export declare const LogOut: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
229
239
|
size?: (typeof iconSizes)[number];
|
|
230
240
|
} & RefAttributes<SVGSVGElement>>;
|
|
@@ -277,7 +287,7 @@ export declare type PopoverSize = "sm" | "md" | "lg";
|
|
|
277
287
|
declare type Props = {
|
|
278
288
|
children?: ReactNode;
|
|
279
289
|
size?: "sm" | "md" | "lg";
|
|
280
|
-
variant?: "primary" | "secondary" | "destructive" | "tertiary";
|
|
290
|
+
variant?: "primary" | "secondary" | "destructive" | "tertiary" | "tertiary-brand";
|
|
281
291
|
loading?: boolean;
|
|
282
292
|
iconOnly?: boolean;
|
|
283
293
|
notificationDotText?: string;
|
|
@@ -343,6 +353,10 @@ export declare type SpinnerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
343
353
|
|
|
344
354
|
export declare type SpinnerSize = typeof iconSizes[number];
|
|
345
355
|
|
|
356
|
+
export declare const Sun: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
357
|
+
size?: (typeof iconSizes)[number];
|
|
358
|
+
} & RefAttributes<SVGSVGElement>>;
|
|
359
|
+
|
|
346
360
|
export declare const SunMoon: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & {
|
|
347
361
|
size?: (typeof iconSizes)[number];
|
|
348
362
|
} & RefAttributes<SVGSVGElement>>;
|