@deckai/deck-ui 0.0.12 → 0.0.14
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/README.md +129 -1
- package/dist/components/AboutCard.cjs +1 -9
- package/dist/components/AboutCard.cjs.map +1 -1
- package/dist/components/AboutCard.js +1 -9
- package/dist/components/AboutCard.js.map +1 -1
- package/dist/components/Accordion.cjs +2 -0
- package/dist/components/Accordion.cjs.map +1 -0
- package/dist/components/Accordion.js +2 -0
- package/dist/components/Accordion.js.map +1 -0
- package/dist/components/AddWorkCard.cjs +117 -0
- package/dist/components/AddWorkCard.cjs.map +1 -0
- package/dist/components/AddWorkCard.js +117 -0
- package/dist/components/AddWorkCard.js.map +1 -0
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.cjs.map +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.cjs.map +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.cjs.map +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Breadcrumbs.js.map +1 -1
- package/dist/components/Button.cjs +2 -2
- package/dist/components/Button.cjs.map +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Carousel.cjs +2 -0
- package/dist/components/Carousel.cjs.map +1 -0
- package/dist/components/Carousel.js +2 -0
- package/dist/components/Carousel.js.map +1 -0
- package/dist/components/Collapsible.cjs +1 -1
- package/dist/components/Collapsible.cjs.map +1 -1
- package/dist/components/Collapsible.js +1 -1
- package/dist/components/Collapsible.js.map +1 -1
- package/dist/components/Combobox.cjs +1 -1
- package/dist/components/Combobox.cjs.map +1 -1
- package/dist/components/Combobox.js +1 -1
- package/dist/components/Combobox.js.map +1 -1
- package/dist/components/ContactItem.cjs +1 -1
- package/dist/components/ContactItem.cjs.map +1 -1
- package/dist/components/ContactItem.js +1 -1
- package/dist/components/ContactItem.js.map +1 -1
- package/dist/components/Dropdown.cjs +2 -0
- package/dist/components/Dropdown.cjs.map +1 -0
- package/dist/components/Dropdown.js +2 -0
- package/dist/components/Dropdown.js.map +1 -0
- package/dist/components/EditButton.cjs +2 -2
- package/dist/components/EditButton.cjs.map +1 -1
- package/dist/components/EditButton.js +2 -2
- package/dist/components/EditButton.js.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.cjs.map +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Icon.js.map +1 -1
- package/dist/components/Input.cjs +1 -1
- package/dist/components/Input.cjs.map +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Link.cjs +1 -1
- package/dist/components/Link.cjs.map +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Link.js.map +1 -1
- package/dist/components/MultiSelectCombobox.cjs +2 -0
- package/dist/components/MultiSelectCombobox.cjs.map +1 -0
- package/dist/components/MultiSelectCombobox.js +2 -0
- package/dist/components/MultiSelectCombobox.js.map +1 -0
- package/dist/components/Navbar.cjs +2 -2
- package/dist/components/Navbar.cjs.map +1 -1
- package/dist/components/Navbar.js +2 -2
- package/dist/components/Navbar.js.map +1 -1
- package/dist/components/NavbarItem.cjs +1 -1
- package/dist/components/NavbarItem.cjs.map +1 -1
- package/dist/components/NavbarItem.js +1 -1
- package/dist/components/NavbarItem.js.map +1 -1
- package/dist/components/Option.cjs +1 -1
- package/dist/components/Option.cjs.map +1 -1
- package/dist/components/Option.js +1 -1
- package/dist/components/Option.js.map +1 -1
- package/dist/components/Pressable.cjs +1 -1
- package/dist/components/Pressable.cjs.map +1 -1
- package/dist/components/Pressable.js +1 -1
- package/dist/components/Pressable.js.map +1 -1
- package/dist/components/ProfileCard.cjs +1 -9
- package/dist/components/ProfileCard.cjs.map +1 -1
- package/dist/components/ProfileCard.js +1 -9
- package/dist/components/ProfileCard.js.map +1 -1
- package/dist/components/ProgressBar.cjs +2 -0
- package/dist/components/ProgressBar.cjs.map +1 -0
- package/dist/components/ProgressBar.js +2 -0
- package/dist/components/ProgressBar.js.map +1 -0
- package/dist/components/SegmentedTabs.cjs +10 -0
- package/dist/components/SegmentedTabs.cjs.map +1 -0
- package/dist/components/SegmentedTabs.js +10 -0
- package/dist/components/SegmentedTabs.js.map +1 -0
- package/dist/components/Sidebar.cjs +2 -0
- package/dist/components/Sidebar.cjs.map +1 -0
- package/dist/components/Sidebar.js +2 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/SocialCard.cjs +1 -1
- package/dist/components/SocialCard.cjs.map +1 -1
- package/dist/components/SocialCard.js +1 -1
- package/dist/components/SocialCard.js.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.cjs.map +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Spinner.js.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.cjs.map +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Switch.js.map +1 -1
- package/dist/components/Tabs.cjs +9 -1
- package/dist/components/Tabs.cjs.map +1 -1
- package/dist/components/Tabs.js +9 -1
- package/dist/components/Tabs.js.map +1 -1
- package/dist/components/Tag.cjs +1 -1
- package/dist/components/Tag.cjs.map +1 -1
- package/dist/components/Tag.js +1 -1
- package/dist/components/Tag.js.map +1 -1
- package/dist/components/Text.cjs +1 -1
- package/dist/components/Text.cjs.map +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Text.js.map +1 -1
- package/dist/components/TextArea.cjs +2 -0
- package/dist/components/TextArea.cjs.map +1 -0
- package/dist/components/TextArea.js +2 -0
- package/dist/components/TextArea.js.map +1 -0
- package/dist/components/Toast.cjs +10 -0
- package/dist/components/Toast.cjs.map +1 -0
- package/dist/components/Toast.js +10 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/ToastProvider.cjs +2 -0
- package/dist/components/ToastProvider.cjs.map +1 -0
- package/dist/components/ToastProvider.js +2 -0
- package/dist/components/ToastProvider.js.map +1 -0
- package/dist/components/Tooltip.cjs +1 -1
- package/dist/components/Tooltip.cjs.map +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Tooltip.js.map +1 -1
- package/dist/components/WorkCard.cjs +1 -1
- package/dist/components/WorkCard.cjs.map +1 -1
- package/dist/components/WorkCard.js +1 -1
- package/dist/components/WorkCard.js.map +1 -1
- package/dist/index.cjs +111 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +111 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/styles.css +1 -1
- package/package.json +8 -2
- package/dist/components/AboutCard.d.cts +0 -13
- package/dist/components/AboutCard.d.ts +0 -13
- package/dist/components/Avatar.d.cts +0 -12
- package/dist/components/Avatar.d.ts +0 -12
- package/dist/components/Badge.d.cts +0 -13
- package/dist/components/Badge.d.ts +0 -13
- package/dist/components/Breadcrumbs.d.cts +0 -15
- package/dist/components/Breadcrumbs.d.ts +0 -15
- package/dist/components/Button.d.cts +0 -38
- package/dist/components/Button.d.ts +0 -38
- package/dist/components/Collapsible.d.cts +0 -12
- package/dist/components/Collapsible.d.ts +0 -12
- package/dist/components/Combobox.d.cts +0 -14
- package/dist/components/Combobox.d.ts +0 -14
- package/dist/components/ContactItem.d.cts +0 -10
- package/dist/components/ContactItem.d.ts +0 -10
- package/dist/components/EditButton.d.cts +0 -12
- package/dist/components/EditButton.d.ts +0 -12
- package/dist/components/Icon.d.cts +0 -19
- package/dist/components/Icon.d.ts +0 -19
- package/dist/components/IconRenderer.d.cts +0 -13
- package/dist/components/IconRenderer.d.ts +0 -13
- package/dist/components/Illustration.d.cts +0 -10
- package/dist/components/Illustration.d.ts +0 -10
- package/dist/components/Input.d.cts +0 -14
- package/dist/components/Input.d.ts +0 -14
- package/dist/components/Link.d.cts +0 -13
- package/dist/components/Link.d.ts +0 -13
- package/dist/components/Logo.d.cts +0 -8
- package/dist/components/Logo.d.ts +0 -8
- package/dist/components/Navbar.d.cts +0 -19
- package/dist/components/Navbar.d.ts +0 -19
- package/dist/components/NavbarItem.d.cts +0 -13
- package/dist/components/NavbarItem.d.ts +0 -13
- package/dist/components/Option.d.cts +0 -11
- package/dist/components/Option.d.ts +0 -11
- package/dist/components/Pressable.d.cts +0 -6
- package/dist/components/Pressable.d.ts +0 -6
- package/dist/components/ProfileCard.d.cts +0 -17
- package/dist/components/ProfileCard.d.ts +0 -17
- package/dist/components/SocialCard.d.cts +0 -12
- package/dist/components/SocialCard.d.ts +0 -12
- package/dist/components/Spinner.d.cts +0 -19
- package/dist/components/Spinner.d.ts +0 -19
- package/dist/components/Switch.d.cts +0 -13
- package/dist/components/Switch.d.ts +0 -13
- package/dist/components/Tabs.d.cts +0 -16
- package/dist/components/Tabs.d.ts +0 -16
- package/dist/components/Tag.d.cts +0 -11
- package/dist/components/Tag.d.ts +0 -11
- package/dist/components/Text.d.cts +0 -46
- package/dist/components/Text.d.ts +0 -46
- package/dist/components/Tooltip.d.cts +0 -13
- package/dist/components/Tooltip.d.ts +0 -13
- package/dist/components/WorkCard.d.cts +0 -13
- package/dist/components/WorkCard.d.ts +0 -13
- package/dist/index.d.cts +0 -98
- package/dist/index.d.ts +0 -98
- package/dist/styles/fonts.d.cts +0 -2
- package/dist/styles/fonts.d.ts +0 -2
- package/dist/styles/styles.d.cts +0 -2
- package/dist/styles/styles.d.ts +0 -2
- package/dist/tailwind-BKauZ5Yx.d.cts +0 -35
- package/dist/tailwind-BKauZ5Yx.d.ts +0 -35
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { TextProps } from './Text.js';
|
|
3
|
-
import '../tailwind-BKauZ5Yx.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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
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-BKauZ5Yx.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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
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-BKauZ5Yx.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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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-BKauZ5Yx.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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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-BKauZ5Yx.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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
isEditMode?: boolean;
|
|
13
|
-
onEditClick?: () => void;
|
|
14
|
-
};
|
|
15
|
-
declare const ProfileCard: ({ profileImage, name, location, memberSince, interests, badges, isEditMode, onEditClick }: ProfileCardProps) => React__default.JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { ProfileCard, type ProfileCardProps };
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
isEditMode?: boolean;
|
|
13
|
-
onEditClick?: () => void;
|
|
14
|
-
};
|
|
15
|
-
declare const ProfileCard: ({ profileImage, name, location, memberSince, interests, badges, isEditMode, onEditClick }: ProfileCardProps) => React__default.JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { ProfileCard, type ProfileCardProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
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 };
|
|
@@ -1,12 +0,0 @@
|
|
|
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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const spinnerVariants: (props?: ({
|
|
6
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
type SpinnerProps = {
|
|
9
|
-
className?: string;
|
|
10
|
-
customSize?: number;
|
|
11
|
-
} & VariantProps<typeof spinnerVariants>;
|
|
12
|
-
declare const Spinner: React.ForwardRefExoticComponent<{
|
|
13
|
-
className?: string;
|
|
14
|
-
customSize?: number;
|
|
15
|
-
} & VariantProps<(props?: ({
|
|
16
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
17
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
|
|
19
|
-
export { Spinner, type SpinnerProps };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const spinnerVariants: (props?: ({
|
|
6
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
type SpinnerProps = {
|
|
9
|
-
className?: string;
|
|
10
|
-
customSize?: number;
|
|
11
|
-
} & VariantProps<typeof spinnerVariants>;
|
|
12
|
-
declare const Spinner: React.ForwardRefExoticComponent<{
|
|
13
|
-
className?: string;
|
|
14
|
-
customSize?: number;
|
|
15
|
-
} & VariantProps<(props?: ({
|
|
16
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
17
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
|
|
19
|
-
export { Spinner, type SpinnerProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React__default, { HTMLAttributes } from 'react';
|
|
2
|
-
import { PressableProps } from './Pressable.cjs';
|
|
3
|
-
|
|
4
|
-
type TagProps = {
|
|
5
|
-
children: React__default.ReactNode;
|
|
6
|
-
padded?: boolean;
|
|
7
|
-
color?: "primary" | "text";
|
|
8
|
-
} & HTMLAttributes<HTMLDivElement> & PressableProps;
|
|
9
|
-
declare const Tag: ({ children, color, className, ...pressableProps }: TagProps) => React__default.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { Tag, type TagProps };
|
package/dist/components/Tag.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React__default, { HTMLAttributes } from 'react';
|
|
2
|
-
import { PressableProps } from './Pressable.js';
|
|
3
|
-
|
|
4
|
-
type TagProps = {
|
|
5
|
-
children: React__default.ReactNode;
|
|
6
|
-
padded?: boolean;
|
|
7
|
-
color?: "primary" | "text";
|
|
8
|
-
} & HTMLAttributes<HTMLDivElement> & PressableProps;
|
|
9
|
-
declare const Tag: ({ children, color, className, ...pressableProps }: TagProps) => React__default.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { Tag, type TagProps };
|
|
@@ -1,46 +0,0 @@
|
|
|
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-BKauZ5Yx.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<HTMLElement | HTMLParagraphElement | HTMLSpanElement | HTMLHeadingElement | HTMLQuoteElement | HTMLPreElement | HTMLLabelElement | HTMLAnchorElement>>;
|
|
45
|
-
|
|
46
|
-
export { Text, type TextProps };
|
|
@@ -1,46 +0,0 @@
|
|
|
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-BKauZ5Yx.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<HTMLElement | HTMLParagraphElement | HTMLSpanElement | HTMLHeadingElement | HTMLQuoteElement | HTMLPreElement | HTMLLabelElement | HTMLAnchorElement>>;
|
|
45
|
-
|
|
46
|
-
export { Text, type TextProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
package/dist/index.d.cts
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
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 { EditButton, EditButtonProps } from './components/EditButton.cjs';
|
|
7
|
-
export { Icon, IconProps } from './components/Icon.cjs';
|
|
8
|
-
export { Illustration, IllustrationProps } from './components/Illustration.cjs';
|
|
9
|
-
export { Breadcrumbs, BreadcrumbsProps } from './components/Breadcrumbs.cjs';
|
|
10
|
-
export { Tooltip, TooltipProps } from './components/Tooltip.cjs';
|
|
11
|
-
export { Combobox, ComboboxProps } from './components/Combobox.cjs';
|
|
12
|
-
export { Tag, TagProps } from './components/Tag.cjs';
|
|
13
|
-
export { Option, OptionProps } from './components/Option.cjs';
|
|
14
|
-
export { SocialCard, SocialCardProps } from './components/SocialCard.cjs';
|
|
15
|
-
export { IconRenderer, IconRendererProps } from './components/IconRenderer.cjs';
|
|
16
|
-
export { Switch, SwitchProps } from './components/Switch.cjs';
|
|
17
|
-
export { ProfileCard, ProfileCardProps } from './components/ProfileCard.cjs';
|
|
18
|
-
export { AboutCard, AboutCardProps } from './components/AboutCard.cjs';
|
|
19
|
-
export { Avatar, AvatarProps } from './components/Avatar.cjs';
|
|
20
|
-
export { NavbarItem, NavbarItemProps } from './components/NavbarItem.cjs';
|
|
21
|
-
export { Logo, LogoProps } from './components/Logo.cjs';
|
|
22
|
-
export { Badge, BadgeProps } from './components/Badge.cjs';
|
|
23
|
-
export { Button, ButtonProps } from './components/Button.cjs';
|
|
24
|
-
export { Text, TextProps } from './components/Text.cjs';
|
|
25
|
-
export { Spinner, SpinnerProps } from './components/Spinner.cjs';
|
|
26
|
-
export { Collapsible, CollapsibleProps } from './components/Collapsible.cjs';
|
|
27
|
-
export { Input, InputProps } from './components/Input.cjs';
|
|
28
|
-
export { ContactItem, ContactItemProps } from './components/ContactItem.cjs';
|
|
29
|
-
import { C as Colors } from './tailwind-BKauZ5Yx.cjs';
|
|
30
|
-
import 'react';
|
|
31
|
-
import '@deckai/icons';
|
|
32
|
-
import '@radix-ui/react-switch';
|
|
33
|
-
import 'class-variance-authority/types';
|
|
34
|
-
import 'class-variance-authority';
|
|
35
|
-
|
|
36
|
-
declare const config: {
|
|
37
|
-
content: string[];
|
|
38
|
-
theme: {
|
|
39
|
-
extend: {
|
|
40
|
-
colors: Colors;
|
|
41
|
-
fontSize: {
|
|
42
|
-
[x: string]: [string, object];
|
|
43
|
-
};
|
|
44
|
-
fontFamily: {
|
|
45
|
-
sans: [string, string];
|
|
46
|
-
};
|
|
47
|
-
fontWeight: {
|
|
48
|
-
light: string;
|
|
49
|
-
regular: string;
|
|
50
|
-
normal: string;
|
|
51
|
-
semibold: string;
|
|
52
|
-
bold: string;
|
|
53
|
-
};
|
|
54
|
-
animation: {
|
|
55
|
-
spin: string;
|
|
56
|
-
};
|
|
57
|
-
keyframes: {
|
|
58
|
-
spin: {
|
|
59
|
-
"0%": {
|
|
60
|
-
transform: string;
|
|
61
|
-
};
|
|
62
|
-
"100%": {
|
|
63
|
-
transform: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
borderWidth: {
|
|
68
|
-
"3": string;
|
|
69
|
-
};
|
|
70
|
-
"fade-in": {
|
|
71
|
-
from: {
|
|
72
|
-
opacity: string;
|
|
73
|
-
};
|
|
74
|
-
to: {
|
|
75
|
-
opacity: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
"fade-out": {
|
|
79
|
-
from: {
|
|
80
|
-
opacity: string;
|
|
81
|
-
};
|
|
82
|
-
to: {
|
|
83
|
-
opacity: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
plugins: {
|
|
89
|
-
handler: () => void;
|
|
90
|
-
}[];
|
|
91
|
-
safelist: string[];
|
|
92
|
-
animation: {
|
|
93
|
-
"fade-in": string;
|
|
94
|
-
"fade-out": string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export { config as tailwindConfig };
|