@deckai/deck-ui 0.0.8 → 0.0.9

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.
Files changed (55) hide show
  1. package/dist/components/AboutCard.d.cts +12 -0
  2. package/dist/components/AboutCard.d.ts +12 -0
  3. package/dist/components/Avatar.d.cts +10 -0
  4. package/dist/components/Avatar.d.ts +10 -0
  5. package/dist/components/Badge.d.cts +13 -0
  6. package/dist/components/Badge.d.ts +13 -0
  7. package/dist/components/Breadcrumbs.d.cts +15 -0
  8. package/dist/components/Breadcrumbs.d.ts +15 -0
  9. package/dist/components/Button.d.cts +28 -0
  10. package/dist/components/Button.d.ts +28 -0
  11. package/dist/components/Combobox.d.cts +14 -0
  12. package/dist/components/Combobox.d.ts +14 -0
  13. package/dist/components/ContactItem.d.cts +11 -0
  14. package/dist/components/ContactItem.d.ts +11 -0
  15. package/dist/components/Icon.d.cts +18 -0
  16. package/dist/components/Icon.d.ts +18 -0
  17. package/dist/components/Input.d.cts +14 -0
  18. package/dist/components/Input.d.ts +14 -0
  19. package/dist/components/Link.d.cts +13 -0
  20. package/dist/components/Link.d.ts +13 -0
  21. package/dist/components/Logo.d.cts +11 -0
  22. package/dist/components/Logo.d.ts +11 -0
  23. package/dist/components/Navbar.d.cts +19 -0
  24. package/dist/components/Navbar.d.ts +19 -0
  25. package/dist/components/NavbarItem.d.cts +13 -0
  26. package/dist/components/NavbarItem.d.ts +13 -0
  27. package/dist/components/Option.d.cts +11 -0
  28. package/dist/components/Option.d.ts +11 -0
  29. package/dist/components/Pressable.d.cts +6 -0
  30. package/dist/components/Pressable.d.ts +6 -0
  31. package/dist/components/ProfileCard.d.cts +15 -0
  32. package/dist/components/ProfileCard.d.ts +15 -0
  33. package/dist/components/SocialCard.d.cts +12 -0
  34. package/dist/components/SocialCard.d.ts +12 -0
  35. package/dist/components/Switch.d.cts +13 -0
  36. package/dist/components/Switch.d.ts +13 -0
  37. package/dist/components/Tabs.d.cts +16 -0
  38. package/dist/components/Tabs.d.ts +16 -0
  39. package/dist/components/Tag.d.cts +10 -0
  40. package/dist/components/Tag.d.ts +10 -0
  41. package/dist/components/Text.d.cts +46 -0
  42. package/dist/components/Text.d.ts +46 -0
  43. package/dist/components/Tooltip.d.cts +13 -0
  44. package/dist/components/Tooltip.d.ts +13 -0
  45. package/dist/components/WorkCard.d.cts +13 -0
  46. package/dist/components/WorkCard.d.ts +13 -0
  47. package/dist/index.d.cts +78 -0
  48. package/dist/index.d.ts +78 -0
  49. package/dist/styles/fonts.d.cts +2 -0
  50. package/dist/styles/fonts.d.ts +2 -0
  51. package/dist/styles/styles.d.cts +2 -0
  52. package/dist/styles/styles.d.ts +2 -0
  53. package/dist/tailwind-DJFscIlV.d.cts +35 -0
  54. package/dist/tailwind-DJFscIlV.d.ts +35 -0
  55. package/package.json +4 -2
@@ -0,0 +1,12 @@
1
+ import React__default from 'react';
2
+ import { ContactItemProps } from './ContactItem.cjs';
3
+ import '@deckai/icons/src/types/icon-names';
4
+
5
+ type AboutCardProps = {
6
+ interests: string[];
7
+ contactItems: ContactItemProps[];
8
+ description: string;
9
+ };
10
+ declare const AboutCard: ({ interests, contactItems, description, ...props }: AboutCardProps) => React__default.JSX.Element;
11
+
12
+ export { AboutCard, type AboutCardProps };
@@ -0,0 +1,12 @@
1
+ import React__default from 'react';
2
+ import { ContactItemProps } from './ContactItem.js';
3
+ import '@deckai/icons/src/types/icon-names';
4
+
5
+ type AboutCardProps = {
6
+ interests: string[];
7
+ contactItems: ContactItemProps[];
8
+ description: string;
9
+ };
10
+ declare const AboutCard: ({ interests, contactItems, description, ...props }: AboutCardProps) => React__default.JSX.Element;
11
+
12
+ export { AboutCard, type AboutCardProps };
@@ -0,0 +1,10 @@
1
+ import React__default from 'react';
2
+ import { Pressable } from './Pressable.cjs';
3
+
4
+ type AvatarProps = {
5
+ src: string;
6
+ size?: number | string;
7
+ } & Pick<React__default.ComponentProps<typeof Pressable>, "onClick">;
8
+ declare const Avatar: ({ src, size, onClick, ...props }: AvatarProps) => React__default.JSX.Element;
9
+
10
+ export { Avatar, type AvatarProps };
@@ -0,0 +1,10 @@
1
+ import React__default from 'react';
2
+ import { Pressable } from './Pressable.js';
3
+
4
+ type AvatarProps = {
5
+ src: string;
6
+ size?: number | string;
7
+ } & Pick<React__default.ComponentProps<typeof Pressable>, "onClick">;
8
+ declare const Avatar: ({ src, size, onClick, ...props }: AvatarProps) => React__default.JSX.Element;
9
+
10
+ export { Avatar, type AvatarProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+
4
+ type BadgeProps = {
5
+ variant?: "pink" | "orange" | "green";
6
+ iconName?: IconName;
7
+ } & React.HTMLAttributes<HTMLSpanElement>;
8
+ declare const Badge: React.ForwardRefExoticComponent<{
9
+ variant?: "pink" | "orange" | "green";
10
+ iconName?: IconName;
11
+ } & React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
12
+
13
+ export { Badge, type BadgeProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+
4
+ type BadgeProps = {
5
+ variant?: "pink" | "orange" | "green";
6
+ iconName?: IconName;
7
+ } & React.HTMLAttributes<HTMLSpanElement>;
8
+ declare const Badge: React.ForwardRefExoticComponent<{
9
+ variant?: "pink" | "orange" | "green";
10
+ iconName?: IconName;
11
+ } & React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
12
+
13
+ export { Badge, type BadgeProps };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+
3
+ type BreadcrumbItem = {
4
+ label: string;
5
+ href?: string;
6
+ };
7
+ type BreadcrumbsProps = {
8
+ items: BreadcrumbItem[];
9
+ className?: string;
10
+ SeparatorComponent?: React__default.ReactElement;
11
+ onHomeClick: () => void;
12
+ };
13
+ declare const Breadcrumbs: React__default.ForwardRefExoticComponent<BreadcrumbsProps & React__default.RefAttributes<HTMLElement>>;
14
+
15
+ export { Breadcrumbs, type BreadcrumbsProps };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+
3
+ type BreadcrumbItem = {
4
+ label: string;
5
+ href?: string;
6
+ };
7
+ type BreadcrumbsProps = {
8
+ items: BreadcrumbItem[];
9
+ className?: string;
10
+ SeparatorComponent?: React__default.ReactElement;
11
+ onHomeClick: () => void;
12
+ };
13
+ declare const Breadcrumbs: React__default.ForwardRefExoticComponent<BreadcrumbsProps & React__default.RefAttributes<HTMLElement>>;
14
+
15
+ export { Breadcrumbs, type BreadcrumbsProps };
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+
3
+ type ButtonProps = {
4
+ /** @default filled */
5
+ variant?: "filled" | "outlined";
6
+ /** @default primary */
7
+ color?: "black" | "accent" | "secondary";
8
+ isLoading?: boolean;
9
+ children: React.ReactNode;
10
+ className?: string;
11
+ disabled?: boolean;
12
+ start?: React.ReactNode;
13
+ end?: React.ReactNode;
14
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
15
+ declare const Button: React.ForwardRefExoticComponent<{
16
+ /** @default filled */
17
+ variant?: "filled" | "outlined";
18
+ /** @default primary */
19
+ color?: "black" | "accent" | "secondary";
20
+ isLoading?: boolean;
21
+ children: React.ReactNode;
22
+ className?: string;
23
+ disabled?: boolean;
24
+ start?: React.ReactNode;
25
+ end?: React.ReactNode;
26
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
27
+
28
+ export { Button, type ButtonProps };
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+
3
+ type ButtonProps = {
4
+ /** @default filled */
5
+ variant?: "filled" | "outlined";
6
+ /** @default primary */
7
+ color?: "black" | "accent" | "secondary";
8
+ isLoading?: boolean;
9
+ children: React.ReactNode;
10
+ className?: string;
11
+ disabled?: boolean;
12
+ start?: React.ReactNode;
13
+ end?: React.ReactNode;
14
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
15
+ declare const Button: React.ForwardRefExoticComponent<{
16
+ /** @default filled */
17
+ variant?: "filled" | "outlined";
18
+ /** @default primary */
19
+ color?: "black" | "accent" | "secondary";
20
+ isLoading?: boolean;
21
+ children: React.ReactNode;
22
+ className?: string;
23
+ disabled?: boolean;
24
+ start?: React.ReactNode;
25
+ end?: React.ReactNode;
26
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
27
+
28
+ export { Button, type ButtonProps };
@@ -0,0 +1,14 @@
1
+ import React__default from 'react';
2
+ import { OptionProps } from './Option.cjs';
3
+
4
+ type ComboboxProps = {
5
+ options: OptionProps[];
6
+ placeholder?: string;
7
+ value?: string;
8
+ onChange: (value: string) => void;
9
+ end?: React__default.ReactNode;
10
+ className?: string;
11
+ };
12
+ declare const Combobox: ({ options, placeholder, value, onChange, end, className }: ComboboxProps) => React__default.JSX.Element;
13
+
14
+ export { Combobox, type ComboboxProps };
@@ -0,0 +1,14 @@
1
+ import React__default from 'react';
2
+ import { OptionProps } from './Option.js';
3
+
4
+ type ComboboxProps = {
5
+ options: OptionProps[];
6
+ placeholder?: string;
7
+ value?: string;
8
+ onChange: (value: string) => void;
9
+ end?: React__default.ReactNode;
10
+ className?: string;
11
+ };
12
+ declare const Combobox: ({ options, placeholder, value, onChange, end, className }: ComboboxProps) => React__default.JSX.Element;
13
+
14
+ export { Combobox, type ComboboxProps };
@@ -0,0 +1,11 @@
1
+ import { IconName } from '@deckai/icons/src/types/icon-names';
2
+ import React__default, { HTMLAttributes } from 'react';
3
+
4
+ type ContactItemProps = {
5
+ iconName: IconName;
6
+ children: React__default.ReactNode;
7
+ href: string;
8
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, "color">;
9
+ declare const ContactItem: ({ iconName, children, href, ...linkProps }: ContactItemProps) => React__default.JSX.Element;
10
+
11
+ export { ContactItem, type ContactItemProps };
@@ -0,0 +1,11 @@
1
+ import { IconName } from '@deckai/icons/src/types/icon-names';
2
+ import React__default, { HTMLAttributes } from 'react';
3
+
4
+ type ContactItemProps = {
5
+ iconName: IconName;
6
+ children: React__default.ReactNode;
7
+ href: string;
8
+ } & Omit<HTMLAttributes<HTMLAnchorElement>, "color">;
9
+ declare const ContactItem: ({ iconName, children, href, ...linkProps }: ContactItemProps) => React__default.JSX.Element;
10
+
11
+ export { ContactItem, type ContactItemProps };
@@ -0,0 +1,18 @@
1
+ import React__default, { SVGProps } from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { I as IconColors } from '../tailwind-DJFscIlV.cjs';
4
+
5
+ type IconProps = {
6
+ name: IconName;
7
+ /** @default 24 */
8
+ size?: number | `${Breakpoint}:${number}`;
9
+ /** @default primary */
10
+ color?: IconColors;
11
+ title?: string;
12
+ className?: string;
13
+ style?: React__default.CSSProperties;
14
+ } & Omit<SVGProps<SVGSVGElement>, "aria-hidden" | "aria-label">;
15
+ type Breakpoint = "sm" | "md" | "lg" | "xl" | "2xl";
16
+ declare const Icon: React__default.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
17
+
18
+ export { Icon, type IconProps };
@@ -0,0 +1,18 @@
1
+ import React__default, { SVGProps } from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { I as IconColors } from '../tailwind-DJFscIlV.js';
4
+
5
+ type IconProps = {
6
+ name: IconName;
7
+ /** @default 24 */
8
+ size?: number | `${Breakpoint}:${number}`;
9
+ /** @default primary */
10
+ color?: IconColors;
11
+ title?: string;
12
+ className?: string;
13
+ style?: React__default.CSSProperties;
14
+ } & Omit<SVGProps<SVGSVGElement>, "aria-hidden" | "aria-label">;
15
+ type Breakpoint = "sm" | "md" | "lg" | "xl" | "2xl";
16
+ declare const Icon: React__default.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
17
+
18
+ export { Icon, type IconProps };
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { IconProps } from './Icon.cjs';
4
+ import '../tailwind-DJFscIlV.cjs';
5
+
6
+ type InputProps = {
7
+ className?: string;
8
+ end?: React.ReactNode;
9
+ /** renders an icon in the end slot */
10
+ iconName?: IconName;
11
+ } & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "size" | "title">;
12
+ declare const Input: ({ className, end, iconName, color, size, title, ...props }: InputProps) => React.JSX.Element;
13
+
14
+ export { Input, type InputProps };
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { IconProps } from './Icon.js';
4
+ import '../tailwind-DJFscIlV.js';
5
+
6
+ type InputProps = {
7
+ className?: string;
8
+ end?: React.ReactNode;
9
+ /** renders an icon in the end slot */
10
+ iconName?: IconName;
11
+ } & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "size" | "title">;
12
+ declare const Input: ({ className, end, iconName, color, size, title, ...props }: InputProps) => React.JSX.Element;
13
+
14
+ export { Input, type InputProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+ import { TextProps } from './Text.cjs';
3
+ import '../tailwind-DJFscIlV.cjs';
4
+
5
+ type LinkProps = {
6
+ href: string;
7
+ children: React__default.ReactNode;
8
+ className?: string;
9
+ style?: React__default.CSSProperties;
10
+ } & Pick<TextProps, "variant" | "color"> & React__default.AnchorHTMLAttributes<HTMLAnchorElement>;
11
+ declare const Link: ({ children, color, variant, href, className, ...props }: LinkProps) => React__default.JSX.Element;
12
+
13
+ export { Link, type LinkProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+ import { TextProps } from './Text.js';
3
+ import '../tailwind-DJFscIlV.js';
4
+
5
+ type LinkProps = {
6
+ href: string;
7
+ children: React__default.ReactNode;
8
+ className?: string;
9
+ style?: React__default.CSSProperties;
10
+ } & Pick<TextProps, "variant" | "color"> & React__default.AnchorHTMLAttributes<HTMLAnchorElement>;
11
+ declare const Link: ({ children, color, variant, href, className, ...props }: LinkProps) => React__default.JSX.Element;
12
+
13
+ export { Link, type LinkProps };
@@ -0,0 +1,11 @@
1
+ import React__default from 'react';
2
+
3
+ type LogoProps = {
4
+ /** @default 76 */
5
+ width?: number;
6
+ /** @default 25 */
7
+ height?: number;
8
+ };
9
+ declare const Logo: ({ width, height }: LogoProps) => React__default.JSX.Element;
10
+
11
+ export { Logo, type LogoProps };
@@ -0,0 +1,11 @@
1
+ import React__default from 'react';
2
+
3
+ type LogoProps = {
4
+ /** @default 76 */
5
+ width?: number;
6
+ /** @default 25 */
7
+ height?: number;
8
+ };
9
+ declare const Logo: ({ width, height }: LogoProps) => React__default.JSX.Element;
10
+
11
+ export { Logo, type LogoProps };
@@ -0,0 +1,19 @@
1
+ import React__default from 'react';
2
+ import { OptionProps } from './Option.cjs';
3
+ import { NavbarItemProps } from './NavbarItem.cjs';
4
+ import '@deckai/icons';
5
+ import './Icon.cjs';
6
+ import '../tailwind-DJFscIlV.cjs';
7
+ import './Pressable.cjs';
8
+
9
+ type NavbarProps = {
10
+ searchOptions: OptionProps[];
11
+ onSearchChange: (value: string) => void;
12
+ navbarItems: NavbarItemProps[];
13
+ onLogoClick?: () => void;
14
+ onProfileClick?: () => void;
15
+ avatarImage: string;
16
+ };
17
+ declare const Navbar: ({ searchOptions, onSearchChange, navbarItems, onLogoClick, onProfileClick, avatarImage }: NavbarProps) => React__default.JSX.Element;
18
+
19
+ export { Navbar, type NavbarProps };
@@ -0,0 +1,19 @@
1
+ import React__default from 'react';
2
+ import { OptionProps } from './Option.js';
3
+ import { NavbarItemProps } from './NavbarItem.js';
4
+ import '@deckai/icons';
5
+ import './Icon.js';
6
+ import '../tailwind-DJFscIlV.js';
7
+ import './Pressable.js';
8
+
9
+ type NavbarProps = {
10
+ searchOptions: OptionProps[];
11
+ onSearchChange: (value: string) => void;
12
+ navbarItems: NavbarItemProps[];
13
+ onLogoClick?: () => void;
14
+ onProfileClick?: () => void;
15
+ avatarImage: string;
16
+ };
17
+ declare const Navbar: ({ searchOptions, onSearchChange, navbarItems, onLogoClick, onProfileClick, avatarImage }: NavbarProps) => React__default.JSX.Element;
18
+
19
+ export { Navbar, type NavbarProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { IconProps } from './Icon.cjs';
4
+ import { PressableProps } from './Pressable.cjs';
5
+ import '../tailwind-DJFscIlV.cjs';
6
+
7
+ type NavbarItemProps = {
8
+ iconName: IconName;
9
+ hasNotification?: boolean;
10
+ } & Pick<IconProps, "color" | "title"> & PressableProps;
11
+ declare const NavbarItem: ({ iconName, hasNotification, color, title, ...props }: NavbarItemProps) => React__default.JSX.Element;
12
+
13
+ export { NavbarItem, type NavbarItemProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+ import { IconName } from '@deckai/icons';
3
+ import { IconProps } from './Icon.js';
4
+ import { PressableProps } from './Pressable.js';
5
+ import '../tailwind-DJFscIlV.js';
6
+
7
+ type NavbarItemProps = {
8
+ iconName: IconName;
9
+ hasNotification?: boolean;
10
+ } & Pick<IconProps, "color" | "title"> & PressableProps;
11
+ declare const NavbarItem: ({ iconName, hasNotification, color, title, ...props }: NavbarItemProps) => React__default.JSX.Element;
12
+
13
+ export { NavbarItem, type NavbarItemProps };
@@ -0,0 +1,11 @@
1
+ import React__default from 'react';
2
+
3
+ type OptionProps = {
4
+ label: string;
5
+ value: string;
6
+ onChange?: (value: string) => void;
7
+ selected?: boolean;
8
+ };
9
+ declare const Option: ({ value, label, onChange, selected }: OptionProps) => React__default.JSX.Element;
10
+
11
+ export { Option, type OptionProps };
@@ -0,0 +1,11 @@
1
+ import React__default from 'react';
2
+
3
+ type OptionProps = {
4
+ label: string;
5
+ value: string;
6
+ onChange?: (value: string) => void;
7
+ selected?: boolean;
8
+ };
9
+ declare const Option: ({ value, label, onChange, selected }: OptionProps) => React__default.JSX.Element;
10
+
11
+ export { Option, type OptionProps };
@@ -0,0 +1,6 @@
1
+ import React__default, { ButtonHTMLAttributes } from 'react';
2
+
3
+ type PressableProps = ButtonHTMLAttributes<HTMLButtonElement>;
4
+ declare const Pressable: React__default.FC<PressableProps>;
5
+
6
+ export { Pressable, type PressableProps };
@@ -0,0 +1,6 @@
1
+ import React__default, { ButtonHTMLAttributes } from 'react';
2
+
3
+ type PressableProps = ButtonHTMLAttributes<HTMLButtonElement>;
4
+ declare const Pressable: React__default.FC<PressableProps>;
5
+
6
+ export { Pressable, type PressableProps };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import { BadgeProps } from './Badge.cjs';
3
+ import '@deckai/icons';
4
+
5
+ type ProfileCardProps = {
6
+ profileImage: string;
7
+ name: string;
8
+ location: string;
9
+ memberSince?: string;
10
+ interests?: string[];
11
+ badges?: BadgeProps[];
12
+ };
13
+ declare const ProfileCard: ({ profileImage, name, location, memberSince, interests, badges }: ProfileCardProps) => React__default.JSX.Element;
14
+
15
+ export { ProfileCard, type ProfileCardProps };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import { BadgeProps } from './Badge.js';
3
+ import '@deckai/icons';
4
+
5
+ type ProfileCardProps = {
6
+ profileImage: string;
7
+ name: string;
8
+ location: string;
9
+ memberSince?: string;
10
+ interests?: string[];
11
+ badges?: BadgeProps[];
12
+ };
13
+ declare const ProfileCard: ({ profileImage, name, location, memberSince, interests, badges }: ProfileCardProps) => React__default.JSX.Element;
14
+
15
+ export { ProfileCard, type ProfileCardProps };
@@ -0,0 +1,12 @@
1
+ import React__default from 'react';
2
+ import { PressableProps } from './Pressable.cjs';
3
+ import { IconName } from '@deckai/icons';
4
+
5
+ type SocialCardProps = {
6
+ icon: IconName;
7
+ followers: string;
8
+ engagement: string;
9
+ } & PressableProps;
10
+ declare const SocialCard: ({ icon, followers, engagement, ...pressableProps }: SocialCardProps) => React__default.JSX.Element;
11
+
12
+ export { SocialCard, type SocialCardProps };
@@ -0,0 +1,12 @@
1
+ import React__default from 'react';
2
+ import { PressableProps } from './Pressable.js';
3
+ import { IconName } from '@deckai/icons';
4
+
5
+ type SocialCardProps = {
6
+ icon: IconName;
7
+ followers: string;
8
+ engagement: string;
9
+ } & PressableProps;
10
+ declare const SocialCard: ({ icon, followers, engagement, ...pressableProps }: SocialCardProps) => React__default.JSX.Element;
11
+
12
+ export { SocialCard, type SocialCardProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+
4
+ type SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
5
+ label?: string;
6
+ description?: string;
7
+ };
8
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
9
+ label?: string;
10
+ description?: string;
11
+ } & React.RefAttributes<HTMLButtonElement>>;
12
+
13
+ export { Switch, type SwitchProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+
4
+ type SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
5
+ label?: string;
6
+ description?: string;
7
+ };
8
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
9
+ label?: string;
10
+ description?: string;
11
+ } & React.RefAttributes<HTMLButtonElement>>;
12
+
13
+ export { Switch, type SwitchProps };
@@ -0,0 +1,16 @@
1
+ import React__default from 'react';
2
+
3
+ type TabItem = {
4
+ value: string;
5
+ label: string;
6
+ content: React__default.ReactNode;
7
+ };
8
+ type TabsProps = {
9
+ items: TabItem[];
10
+ defaultValue?: string;
11
+ className?: string;
12
+ onChange?: (value: string) => void;
13
+ };
14
+ declare const Tabs: React__default.ForwardRefExoticComponent<TabsProps & React__default.RefAttributes<HTMLDivElement>>;
15
+
16
+ export { type TabItem, Tabs, type TabsProps };
@@ -0,0 +1,16 @@
1
+ import React__default from 'react';
2
+
3
+ type TabItem = {
4
+ value: string;
5
+ label: string;
6
+ content: React__default.ReactNode;
7
+ };
8
+ type TabsProps = {
9
+ items: TabItem[];
10
+ defaultValue?: string;
11
+ className?: string;
12
+ onChange?: (value: string) => void;
13
+ };
14
+ declare const Tabs: React__default.ForwardRefExoticComponent<TabsProps & React__default.RefAttributes<HTMLDivElement>>;
15
+
16
+ export { type TabItem, Tabs, type TabsProps };
@@ -0,0 +1,10 @@
1
+ import React__default, { HTMLAttributes } from 'react';
2
+
3
+ type TagProps = {
4
+ children: React__default.ReactNode;
5
+ padded?: boolean;
6
+ color?: "primary" | "text";
7
+ } & HTMLAttributes<HTMLDivElement>;
8
+ declare const Tag: ({ children, padded, color, ...props }: TagProps) => React__default.JSX.Element;
9
+
10
+ export { Tag, type TagProps };
@@ -0,0 +1,10 @@
1
+ import React__default, { HTMLAttributes } from 'react';
2
+
3
+ type TagProps = {
4
+ children: React__default.ReactNode;
5
+ padded?: boolean;
6
+ color?: "primary" | "text";
7
+ } & HTMLAttributes<HTMLDivElement>;
8
+ declare const Tag: ({ children, padded, color, ...props }: TagProps) => React__default.JSX.Element;
9
+
10
+ export { Tag, type TagProps };
@@ -0,0 +1,46 @@
1
+ import React__default from 'react';
2
+ import { C as Colors, T as TextColorVariant, P as PrimaryShades, S as SecondaryShades, a as TertiaryShades, b as Typography } from '../tailwind-DJFscIlV.cjs';
3
+
4
+ type TextElement = "p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "strong" | "em" | "blockquote" | "pre" | "code" | "small" | "label" | "a";
5
+ type HTMLPropsMap = {
6
+ p: React__default.HTMLAttributes<HTMLParagraphElement>;
7
+ span: React__default.HTMLAttributes<HTMLSpanElement>;
8
+ h1: React__default.HTMLAttributes<HTMLHeadingElement>;
9
+ h2: React__default.HTMLAttributes<HTMLHeadingElement>;
10
+ h3: React__default.HTMLAttributes<HTMLHeadingElement>;
11
+ h4: React__default.HTMLAttributes<HTMLHeadingElement>;
12
+ h5: React__default.HTMLAttributes<HTMLHeadingElement>;
13
+ h6: React__default.HTMLAttributes<HTMLHeadingElement>;
14
+ strong: React__default.HTMLAttributes<HTMLElement>;
15
+ em: React__default.HTMLAttributes<HTMLElement>;
16
+ blockquote: React__default.HTMLAttributes<HTMLQuoteElement>;
17
+ pre: React__default.HTMLAttributes<HTMLPreElement>;
18
+ code: React__default.HTMLAttributes<HTMLElement>;
19
+ small: React__default.HTMLAttributes<HTMLElement>;
20
+ label: React__default.LabelHTMLAttributes<HTMLLabelElement>;
21
+ a: Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, "color">;
22
+ };
23
+ type ColorCategory = keyof Omit<Colors, "stroke" | "background">;
24
+ type ColorValue<T extends ColorCategory> = T extends "text" ? TextColorVariant : T extends "primary" ? keyof PrimaryShades : T extends "secondary" ? keyof SecondaryShades : T extends "tertiary" ? keyof TertiaryShades : never;
25
+ type ColorKey = {
26
+ [T in ColorCategory]: `${T}-${ColorValue<T>}`;
27
+ }[ColorCategory];
28
+ type TypographyCategory = keyof Typography;
29
+ type TypographyValue<T extends TypographyCategory> = Extract<keyof Typography[T], string | number | bigint | boolean | null | undefined>;
30
+ type TypographyKey = {
31
+ [T in TypographyCategory]: `${T}-${TypographyValue<T>}`;
32
+ }[TypographyCategory];
33
+ type Weight = "light" | "regular" | "semibold" | "bold";
34
+ type Breakpoint = "sm" | "md" | "lg" | "xl" | "2xl";
35
+ type ResponsiveVariant = TypographyKey | `${Breakpoint}:${TypographyKey}`;
36
+ type TextProps<T extends TextElement = "p"> = {
37
+ variant?: ResponsiveVariant | ResponsiveVariant[];
38
+ color?: ColorKey | "inherit";
39
+ as?: T;
40
+ className?: string;
41
+ children: React__default.ReactNode;
42
+ weight?: Weight;
43
+ } & HTMLPropsMap[T];
44
+ declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLSpanElement | HTMLElement | HTMLPreElement | HTMLAnchorElement | HTMLQuoteElement | HTMLHeadingElement | HTMLLabelElement | HTMLParagraphElement>>;
45
+
46
+ export { Text, type TextProps };
@@ -0,0 +1,46 @@
1
+ import React__default from 'react';
2
+ import { C as Colors, T as TextColorVariant, P as PrimaryShades, S as SecondaryShades, a as TertiaryShades, b as Typography } from '../tailwind-DJFscIlV.js';
3
+
4
+ type TextElement = "p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "strong" | "em" | "blockquote" | "pre" | "code" | "small" | "label" | "a";
5
+ type HTMLPropsMap = {
6
+ p: React__default.HTMLAttributes<HTMLParagraphElement>;
7
+ span: React__default.HTMLAttributes<HTMLSpanElement>;
8
+ h1: React__default.HTMLAttributes<HTMLHeadingElement>;
9
+ h2: React__default.HTMLAttributes<HTMLHeadingElement>;
10
+ h3: React__default.HTMLAttributes<HTMLHeadingElement>;
11
+ h4: React__default.HTMLAttributes<HTMLHeadingElement>;
12
+ h5: React__default.HTMLAttributes<HTMLHeadingElement>;
13
+ h6: React__default.HTMLAttributes<HTMLHeadingElement>;
14
+ strong: React__default.HTMLAttributes<HTMLElement>;
15
+ em: React__default.HTMLAttributes<HTMLElement>;
16
+ blockquote: React__default.HTMLAttributes<HTMLQuoteElement>;
17
+ pre: React__default.HTMLAttributes<HTMLPreElement>;
18
+ code: React__default.HTMLAttributes<HTMLElement>;
19
+ small: React__default.HTMLAttributes<HTMLElement>;
20
+ label: React__default.LabelHTMLAttributes<HTMLLabelElement>;
21
+ a: Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, "color">;
22
+ };
23
+ type ColorCategory = keyof Omit<Colors, "stroke" | "background">;
24
+ type ColorValue<T extends ColorCategory> = T extends "text" ? TextColorVariant : T extends "primary" ? keyof PrimaryShades : T extends "secondary" ? keyof SecondaryShades : T extends "tertiary" ? keyof TertiaryShades : never;
25
+ type ColorKey = {
26
+ [T in ColorCategory]: `${T}-${ColorValue<T>}`;
27
+ }[ColorCategory];
28
+ type TypographyCategory = keyof Typography;
29
+ type TypographyValue<T extends TypographyCategory> = Extract<keyof Typography[T], string | number | bigint | boolean | null | undefined>;
30
+ type TypographyKey = {
31
+ [T in TypographyCategory]: `${T}-${TypographyValue<T>}`;
32
+ }[TypographyCategory];
33
+ type Weight = "light" | "regular" | "semibold" | "bold";
34
+ type Breakpoint = "sm" | "md" | "lg" | "xl" | "2xl";
35
+ type ResponsiveVariant = TypographyKey | `${Breakpoint}:${TypographyKey}`;
36
+ type TextProps<T extends TextElement = "p"> = {
37
+ variant?: ResponsiveVariant | ResponsiveVariant[];
38
+ color?: ColorKey | "inherit";
39
+ as?: T;
40
+ className?: string;
41
+ children: React__default.ReactNode;
42
+ weight?: Weight;
43
+ } & HTMLPropsMap[T];
44
+ declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLSpanElement | HTMLElement | HTMLPreElement | HTMLAnchorElement | HTMLQuoteElement | HTMLHeadingElement | HTMLLabelElement | HTMLParagraphElement>>;
45
+
46
+ export { Text, type TextProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+
3
+ interface TooltipProps {
4
+ content: React.ReactNode;
5
+ children: React.ReactNode;
6
+ side?: "top" | "right" | "bottom" | "left";
7
+ align?: "start" | "center" | "end";
8
+ className?: string;
9
+ delayDuration?: number;
10
+ }
11
+ declare const Tooltip: ({ content, children, side, align, className, delayDuration }: TooltipProps) => React.JSX.Element;
12
+
13
+ export { Tooltip, type TooltipProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+
3
+ interface TooltipProps {
4
+ content: React.ReactNode;
5
+ children: React.ReactNode;
6
+ side?: "top" | "right" | "bottom" | "left";
7
+ align?: "start" | "center" | "end";
8
+ className?: string;
9
+ delayDuration?: number;
10
+ }
11
+ declare const Tooltip: ({ content, children, side, align, className, delayDuration }: TooltipProps) => React.JSX.Element;
12
+
13
+ export { Tooltip, type TooltipProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+
3
+ type WorkCardProps = {
4
+ socialIconName: "instagram-filled" | "tiktok-filled" | "youtube-filled";
5
+ tags: string[];
6
+ caption: string;
7
+ /** play count should already be formatted with k or m */
8
+ playCount: string;
9
+ backgroundImage: string;
10
+ };
11
+ declare const WorkCard: ({ socialIconName, tags, caption, playCount, backgroundImage }: WorkCardProps) => React__default.JSX.Element;
12
+
13
+ export { WorkCard, type WorkCardProps };
@@ -0,0 +1,13 @@
1
+ import React__default from 'react';
2
+
3
+ type WorkCardProps = {
4
+ socialIconName: "instagram-filled" | "tiktok-filled" | "youtube-filled";
5
+ tags: string[];
6
+ caption: string;
7
+ /** play count should already be formatted with k or m */
8
+ playCount: string;
9
+ backgroundImage: string;
10
+ };
11
+ declare const WorkCard: ({ socialIconName, tags, caption, playCount, backgroundImage }: WorkCardProps) => React__default.JSX.Element;
12
+
13
+ export { WorkCard, type WorkCardProps };
@@ -0,0 +1,78 @@
1
+ export { Navbar, NavbarProps } from './components/Navbar.cjs';
2
+ export { Pressable, PressableProps } from './components/Pressable.cjs';
3
+ export { Link, LinkProps } from './components/Link.cjs';
4
+ export { Tabs, TabsProps } from './components/Tabs.cjs';
5
+ export { WorkCard, WorkCardProps } from './components/WorkCard.cjs';
6
+ export { Icon, IconProps } from './components/Icon.cjs';
7
+ export { Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.cjs';
8
+ export { Tooltip, TooltipProps } from './components/Tooltip.cjs';
9
+ export { Combobox, ComboboxProps } from './components/Combobox.cjs';
10
+ export { Tag, TagProps } from './components/Tag.cjs';
11
+ export { Option, OptionProps } from './components/Option.cjs';
12
+ export { SocialCard, SocialCardProps } from './components/SocialCard.cjs';
13
+ export { Switch, SwitchProps } from './components/Switch.cjs';
14
+ export { ProfileCard, ProfileCardProps } from './components/ProfileCard.cjs';
15
+ export { AboutCard, AboutCardProps } from './components/AboutCard.cjs';
16
+ export { Avatar, AvatarProps } from './components/Avatar.cjs';
17
+ export { NavbarItem, NavbarItemProps } from './components/NavbarItem.cjs';
18
+ export { Logo, LogoProps } from './components/Logo.cjs';
19
+ export { Badge, BadgeProps } from './components/Badge.cjs';
20
+ export { Button, ButtonProps } from './components/Button.cjs';
21
+ export { Text, TextProps } from './components/Text.cjs';
22
+ export { Input, InputProps } from './components/Input.cjs';
23
+ export { ContactItem, ContactItemProps } from './components/ContactItem.cjs';
24
+ import { C as Colors } from './tailwind-DJFscIlV.cjs';
25
+ import 'react';
26
+ import '@deckai/icons';
27
+ import '@radix-ui/react-switch';
28
+ import '@deckai/icons/src/types/icon-names';
29
+
30
+ declare const config: {
31
+ content: string[];
32
+ theme: {
33
+ extend: {
34
+ colors: Colors;
35
+ fontSize: {
36
+ [x: string]: [string, object];
37
+ };
38
+ fontFamily: {
39
+ sans: [string, string];
40
+ };
41
+ fontWeight: {
42
+ light: string;
43
+ regular: string;
44
+ normal: string;
45
+ semibold: string;
46
+ bold: string;
47
+ };
48
+ };
49
+ };
50
+ plugins: {
51
+ handler: () => void;
52
+ }[];
53
+ safelist: string[];
54
+ keyframes: {
55
+ "fade-in": {
56
+ from: {
57
+ opacity: string;
58
+ };
59
+ to: {
60
+ opacity: string;
61
+ };
62
+ };
63
+ "fade-out": {
64
+ from: {
65
+ opacity: string;
66
+ };
67
+ to: {
68
+ opacity: string;
69
+ };
70
+ };
71
+ };
72
+ animation: {
73
+ "fade-in": string;
74
+ "fade-out": string;
75
+ };
76
+ };
77
+
78
+ export { config as tailwindConfig };
@@ -0,0 +1,78 @@
1
+ export { Navbar, NavbarProps } from './components/Navbar.js';
2
+ export { Pressable, PressableProps } from './components/Pressable.js';
3
+ export { Link, LinkProps } from './components/Link.js';
4
+ export { Tabs, TabsProps } from './components/Tabs.js';
5
+ export { WorkCard, WorkCardProps } from './components/WorkCard.js';
6
+ export { Icon, IconProps } from './components/Icon.js';
7
+ export { Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.js';
8
+ export { Tooltip, TooltipProps } from './components/Tooltip.js';
9
+ export { Combobox, ComboboxProps } from './components/Combobox.js';
10
+ export { Tag, TagProps } from './components/Tag.js';
11
+ export { Option, OptionProps } from './components/Option.js';
12
+ export { SocialCard, SocialCardProps } from './components/SocialCard.js';
13
+ export { Switch, SwitchProps } from './components/Switch.js';
14
+ export { ProfileCard, ProfileCardProps } from './components/ProfileCard.js';
15
+ export { AboutCard, AboutCardProps } from './components/AboutCard.js';
16
+ export { Avatar, AvatarProps } from './components/Avatar.js';
17
+ export { NavbarItem, NavbarItemProps } from './components/NavbarItem.js';
18
+ export { Logo, LogoProps } from './components/Logo.js';
19
+ export { Badge, BadgeProps } from './components/Badge.js';
20
+ export { Button, ButtonProps } from './components/Button.js';
21
+ export { Text, TextProps } from './components/Text.js';
22
+ export { Input, InputProps } from './components/Input.js';
23
+ export { ContactItem, ContactItemProps } from './components/ContactItem.js';
24
+ import { C as Colors } from './tailwind-DJFscIlV.js';
25
+ import 'react';
26
+ import '@deckai/icons';
27
+ import '@radix-ui/react-switch';
28
+ import '@deckai/icons/src/types/icon-names';
29
+
30
+ declare const config: {
31
+ content: string[];
32
+ theme: {
33
+ extend: {
34
+ colors: Colors;
35
+ fontSize: {
36
+ [x: string]: [string, object];
37
+ };
38
+ fontFamily: {
39
+ sans: [string, string];
40
+ };
41
+ fontWeight: {
42
+ light: string;
43
+ regular: string;
44
+ normal: string;
45
+ semibold: string;
46
+ bold: string;
47
+ };
48
+ };
49
+ };
50
+ plugins: {
51
+ handler: () => void;
52
+ }[];
53
+ safelist: string[];
54
+ keyframes: {
55
+ "fade-in": {
56
+ from: {
57
+ opacity: string;
58
+ };
59
+ to: {
60
+ opacity: string;
61
+ };
62
+ };
63
+ "fade-out": {
64
+ from: {
65
+ opacity: string;
66
+ };
67
+ to: {
68
+ opacity: string;
69
+ };
70
+ };
71
+ };
72
+ animation: {
73
+ "fade-in": string;
74
+ "fade-out": string;
75
+ };
76
+ };
77
+
78
+ export { config as tailwindConfig };
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,35 @@
1
+ type ColorShade = "5" | "10" | "15" | "20" | "25" | "30" | "50" | "100" | "200" | "300" | "400" | "500" | "600" | "DEFAULT";
2
+ type TextColorVariant = "primary" | "secondary" | "white" | "primary-blue";
3
+ type BackgroundShades = Pick<Record<ColorShade, string>, "50" | "100">;
4
+ type PrimaryShades = Pick<Record<ColorShade, string>, "50" | "100">;
5
+ type SecondaryShades = Pick<Record<ColorShade, string>, "50" | "100" | "200" | "300" | "400" | "500" | "600">;
6
+ type TertiaryShades = Pick<Record<ColorShade, string>, "5" | "10" | "15" | "20" | "25" | "30">;
7
+ type StrokeShades = Pick<Record<ColorShade, string>, "DEFAULT">;
8
+ type TextShades = Record<TextColorVariant, string>;
9
+ type Colors = {
10
+ background: BackgroundShades;
11
+ primary: PrimaryShades;
12
+ secondary: SecondaryShades;
13
+ tertiary: TertiaryShades;
14
+ stroke: StrokeShades | string;
15
+ text: TextShades;
16
+ overlay: string;
17
+ };
18
+ type HeadingSize = "xl" | "lg" | "md" | "sm" | "xs";
19
+ type BodySize = "lg" | "lg-semibold" | "md" | "default" | "default-medium" | "default-semibold" | "default-bold" | "xs" | "xs-medium" | "xxs" | "xxs-medium" | "xxs-semibold";
20
+ type LabelSize = "default";
21
+ type Typography = {
22
+ heading: Record<HeadingSize, TypographyConfig>;
23
+ body: Record<BodySize, TypographyConfig>;
24
+ label: Record<LabelSize, TypographyConfig>;
25
+ };
26
+ type TypographyConfig = {
27
+ fontSize: string;
28
+ lineHeight?: string;
29
+ letterSpacing?: string;
30
+ fontWeight: string;
31
+ textTransform?: string;
32
+ };
33
+ type IconColors = "primary" | "secondary" | "white" | "primaryBlue";
34
+
35
+ export type { Colors as C, IconColors as I, PrimaryShades as P, SecondaryShades as S, TextColorVariant as T, TertiaryShades as a, Typography as b };
@@ -0,0 +1,35 @@
1
+ type ColorShade = "5" | "10" | "15" | "20" | "25" | "30" | "50" | "100" | "200" | "300" | "400" | "500" | "600" | "DEFAULT";
2
+ type TextColorVariant = "primary" | "secondary" | "white" | "primary-blue";
3
+ type BackgroundShades = Pick<Record<ColorShade, string>, "50" | "100">;
4
+ type PrimaryShades = Pick<Record<ColorShade, string>, "50" | "100">;
5
+ type SecondaryShades = Pick<Record<ColorShade, string>, "50" | "100" | "200" | "300" | "400" | "500" | "600">;
6
+ type TertiaryShades = Pick<Record<ColorShade, string>, "5" | "10" | "15" | "20" | "25" | "30">;
7
+ type StrokeShades = Pick<Record<ColorShade, string>, "DEFAULT">;
8
+ type TextShades = Record<TextColorVariant, string>;
9
+ type Colors = {
10
+ background: BackgroundShades;
11
+ primary: PrimaryShades;
12
+ secondary: SecondaryShades;
13
+ tertiary: TertiaryShades;
14
+ stroke: StrokeShades | string;
15
+ text: TextShades;
16
+ overlay: string;
17
+ };
18
+ type HeadingSize = "xl" | "lg" | "md" | "sm" | "xs";
19
+ type BodySize = "lg" | "lg-semibold" | "md" | "default" | "default-medium" | "default-semibold" | "default-bold" | "xs" | "xs-medium" | "xxs" | "xxs-medium" | "xxs-semibold";
20
+ type LabelSize = "default";
21
+ type Typography = {
22
+ heading: Record<HeadingSize, TypographyConfig>;
23
+ body: Record<BodySize, TypographyConfig>;
24
+ label: Record<LabelSize, TypographyConfig>;
25
+ };
26
+ type TypographyConfig = {
27
+ fontSize: string;
28
+ lineHeight?: string;
29
+ letterSpacing?: string;
30
+ fontWeight: string;
31
+ textTransform?: string;
32
+ };
33
+ type IconColors = "primary" | "secondary" | "white" | "primaryBlue";
34
+
35
+ export type { Colors as C, IconColors as I, PrimaryShades as P, SecondaryShades as S, TextColorVariant as T, TertiaryShades as a, Typography as b };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deckai/deck-ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public",
@@ -44,6 +44,8 @@
44
44
  "build:css": "tailwindcss -i ./src/styles/styles.css -o ./dist/styles/styles.css",
45
45
  "test": "echo \"Error: no test specified\" && exit 1",
46
46
  "generate:index": "bun run scripts/generate-index.ts",
47
+ "typecheck": "tsc --noEmit",
48
+ "prebuild": "bun run typecheck",
47
49
  "build": "NODE_ENV=production bun run generate:index && tsup",
48
50
  "dev": "tsup --watch",
49
51
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -64,7 +66,7 @@
64
66
  "react-dom": "^18.3.1"
65
67
  },
66
68
  "dependencies": {
67
- "@deckai/icons": "workspace:*",
69
+ "@deckai/icons": "^0.0.3",
68
70
  "@radix-ui/react-popover": "^1.1.2",
69
71
  "@radix-ui/react-switch": "^1.1.1",
70
72
  "@radix-ui/react-tabs": "^1.1.1",