uplord-ui 0.0.7 → 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.
- package/dist/Modal-DXrc4tEj.cjs +7854 -0
- package/dist/Modal-L3KZppjE.js +40315 -0
- package/dist/components/index.d.ts +18 -0
- package/dist/components.cjs.js +1 -0
- package/dist/components.es.js +21 -0
- package/dist/index.cjs.js +1 -7854
- package/dist/index.d.ts +1 -18
- package/dist/index.es.js +19 -40318
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib.cjs.js +1 -0
- package/dist/lib.es.js +332 -0
- package/dist/useMounted-BzJ5ERVp.js +11 -0
- package/dist/useMounted-DEWEfUSx.cjs +1 -0
- package/package.json +18 -5
- package/dist/app/layout.d.ts +0 -11
- package/dist/app/page.d.ts +0 -1
- package/dist/app/page.stories.d.ts +0 -6
- package/dist/components/blocks/Banner/Banner.d.ts +0 -6
- package/dist/components/blocks/Banner/Banner.stories.d.ts +0 -7
- package/dist/components/blocks/Banner/index.d.ts +0 -2
- package/dist/components/blocks/Projects/Projects.d.ts +0 -5
- package/dist/components/blocks/Projects/Projects.stories.d.ts +0 -6
- package/dist/components/blocks/Projects/index.d.ts +0 -2
- package/dist/components/blocks/Section/Section.d.ts +0 -5
- package/dist/components/blocks/Section/Section.stories.d.ts +0 -6
- package/dist/components/blocks/Section/index.d.ts +0 -2
- package/dist/components/blocks/Stack/Stack.d.ts +0 -5
- package/dist/components/blocks/Stack/Stack.stories.d.ts +0 -6
- package/dist/components/blocks/Stack/index.d.ts +0 -2
- package/dist/components/blocks/Timeline/Timeline.d.ts +0 -5
- package/dist/components/blocks/Timeline/Timeline.stories.d.ts +0 -6
- package/dist/components/blocks/Timeline/index.d.ts +0 -2
- package/dist/components/main/Footer/Footer.d.ts +0 -1
- package/dist/components/main/Footer/Footer.stories.d.ts +0 -6
- package/dist/components/main/Footer/index.d.ts +0 -1
- package/dist/components/main/Header/Header.d.ts +0 -7
- package/dist/components/main/Header/Header.stories.d.ts +0 -6
- package/dist/components/main/Header/Logo/Logo.d.ts +0 -1
- package/dist/components/main/Header/Logo/Logo.stories.d.ts +0 -6
- package/dist/components/main/Header/Logo/index.d.ts +0 -1
- package/dist/components/main/Header/Navigation/Navigation.d.ts +0 -5
- package/dist/components/main/Header/Navigation/Navigation.stories.d.ts +0 -6
- package/dist/components/main/Header/Navigation/index.d.ts +0 -1
- package/dist/components/main/Header/Toggle/Toggle.d.ts +0 -4
- package/dist/components/main/Header/Toggle/Toggle.stories.d.ts +0 -6
- package/dist/components/main/Header/Toggle/index.d.ts +0 -2
- package/dist/components/main/Header/index.d.ts +0 -2
- package/dist/components/main/Social/Social.d.ts +0 -5
- package/dist/components/main/Social/Social.stories.d.ts +0 -6
- package/dist/components/main/Social/index.d.ts +0 -2
- package/dist/components/navigation/Pagination/Pagination.d.ts +0 -7
- package/dist/components/navigation/Pagination/Pagination.stories.d.ts +0 -6
- package/dist/components/navigation/Pagination/index.d.ts +0 -2
- package/dist/components/ui/Button/Button.d.ts +0 -27
- package/dist/components/ui/Button/Button.stories.d.ts +0 -14
- package/dist/components/ui/Button/index.d.ts +0 -2
- package/dist/components/ui/Checkbox/Checkbox.d.ts +0 -17
- package/dist/components/ui/Checkbox/Checkbox.stories.d.ts +0 -9
- package/dist/components/ui/Checkbox/index.d.ts +0 -2
- package/dist/components/ui/FormikInput/FormikInput.d.ts +0 -14
- package/dist/components/ui/FormikInput/index.d.ts +0 -1
- package/dist/components/ui/Input/Input.d.ts +0 -28
- package/dist/components/ui/Input/Input.stories.d.ts +0 -9
- package/dist/components/ui/Input/index.d.ts +0 -2
- package/dist/components/ui/Radio/Radio.d.ts +0 -17
- package/dist/components/ui/Radio/Radio.stories.d.ts +0 -9
- package/dist/components/ui/Radio/index.d.ts +0 -2
- package/dist/components/ui/Select/Select.d.ts +0 -21
- package/dist/components/ui/Select/Select.stories.d.ts +0 -8
- package/dist/components/ui/Select/index.d.ts +0 -2
- package/dist/components/ui/Textarea/Textarea.d.ts +0 -15
- package/dist/components/ui/Textarea/Textarea.stories.d.ts +0 -8
- package/dist/components/ui/Textarea/index.d.ts +0 -2
- package/dist/components/utils/Colors/Colors.d.ts +0 -7
- package/dist/components/utils/Colors/Colors.stories.d.ts +0 -7
- package/dist/components/utils/Colors/index.d.ts +0 -2
- package/dist/components/utils/Example/Example.d.ts +0 -1
- package/dist/components/utils/Example/Example.stories.d.ts +0 -6
- package/dist/components/utils/Example/index.d.ts +0 -1
- package/dist/components/utils/Icon/Icon.d.ts +0 -12
- package/dist/components/utils/Icon/Icon.stories.d.ts +0 -6
- package/dist/components/utils/Icon/index.d.ts +0 -2
- package/dist/components/utils/Modal/Modal.d.ts +0 -14
- package/dist/components/utils/Modal/Modal.stories.d.ts +0 -11
- package/dist/components/utils/Modal/_components/ModalFooter.d.ts +0 -11
- package/dist/components/utils/Modal/_components/ModalHeader.d.ts +0 -8
- package/dist/components/utils/Modal/_components/index.d.ts +0 -4
- package/dist/components/utils/Modal/index.d.ts +0 -4
- package/dist/components/utils/Typography/Typography.d.ts +0 -7
- package/dist/components/utils/Typography/Typography.stories.d.ts +0 -7
- package/dist/components/utils/Typography/index.d.ts +0 -2
- package/dist/context/NiceModalProvider.d.ts +0 -4
- package/dist/context/ThemeProvider.d.ts +0 -7
- package/dist/data/data.d.ts +0 -17
- package/dist/lib/icons.d.ts +0 -4
- package/dist/lib/scrollUtils.d.ts +0 -1
- package/dist/lib/useModalData.d.ts +0 -1
- package/dist/lib/useMounted.d.ts +0 -1
- package/dist/types/system.d.ts +0 -24
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IconProps } from '../../utils/Icon';
|
|
3
|
-
import { VariantType } from '../../../types/system';
|
|
4
|
-
export interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
5
|
-
label?: string;
|
|
6
|
-
href?: string;
|
|
7
|
-
target?: '_blank' | '_self' | '';
|
|
8
|
-
size: 'sm' | 'md';
|
|
9
|
-
variant: VariantType;
|
|
10
|
-
leadingIcon?: IconProps['name'];
|
|
11
|
-
trailingIcon?: IconProps['name'];
|
|
12
|
-
block?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
isIcon?: boolean;
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
isLoading?: boolean;
|
|
17
|
-
isSkeleton?: boolean;
|
|
18
|
-
hasHover?: boolean;
|
|
19
|
-
ariaLabel?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const Button: ({ label, href, target, size, variant, leadingIcon, trailingIcon, block, className, isIcon, isDisabled, isLoading, isSkeleton, hasHover, ...restProps }: ButtonProps) => React.JSX.Element;
|
|
22
|
-
export type ButtonGroupProps = {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
className?: string;
|
|
25
|
-
justify?: 'center' | 'start' | 'end';
|
|
26
|
-
};
|
|
27
|
-
export declare const ButtonGroup: ({ children, className, justify }: ButtonGroupProps) => React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { ButtonProps } from './Button';
|
|
3
|
-
declare const meta: Meta<ButtonProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ButtonProps>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const Icon: Story;
|
|
8
|
-
export declare const Links: Story;
|
|
9
|
-
export declare const Variants: Story;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const Primary: Story;
|
|
12
|
-
export declare const Success: Story;
|
|
13
|
-
export declare const Outline: Story;
|
|
14
|
-
export declare const Text: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type CheckboxProps = {
|
|
3
|
-
name: string;
|
|
4
|
-
id?: string;
|
|
5
|
-
value: string;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
helper?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
total?: string;
|
|
11
|
-
content?: string;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
isSkeleton?: boolean;
|
|
14
|
-
isError?: boolean;
|
|
15
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
16
|
-
};
|
|
17
|
-
export declare const Checkbox: ({ name, id, value, checked, helper, className, label, total, content, isDisabled, isSkeleton, isError, onChange, }: CheckboxProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { CheckboxProps } from './Checkbox';
|
|
3
|
-
declare const meta: Meta<CheckboxProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CheckboxProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Content: Story;
|
|
8
|
-
export declare const State: Story;
|
|
9
|
-
export declare const StateText: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FieldProps } from 'formik';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { CheckboxProps } from '../Checkbox';
|
|
4
|
-
import { InputProps } from '../Input';
|
|
5
|
-
import { RadioProps } from '../Radio';
|
|
6
|
-
import { SelectProps } from '../Select';
|
|
7
|
-
import { TextareaProps } from '../Textarea';
|
|
8
|
-
type FormikInputProps = FieldProps & {
|
|
9
|
-
helper?: string;
|
|
10
|
-
input?: React.ComponentType<CheckboxProps | InputProps | RadioProps | SelectProps | TextareaProps>;
|
|
11
|
-
value?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const FormikInput: ({ field, form, helper, input: Component, ...props }: FormikInputProps) => React.JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FormikInput } from './FormikInput';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from '../Button';
|
|
3
|
-
import { IconProps } from '../../utils/Icon';
|
|
4
|
-
export type InputProps = {
|
|
5
|
-
type?: 'text' | 'email' | 'password' | 'number';
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
name: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
value: string;
|
|
10
|
-
helper?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
leadingIcon?: IconProps['name'];
|
|
13
|
-
leadingFunction?: () => void;
|
|
14
|
-
leadingText?: string;
|
|
15
|
-
trailingIcon?: IconProps['name'];
|
|
16
|
-
trailingFunction?: () => void;
|
|
17
|
-
trailingText?: string;
|
|
18
|
-
button?: Omit<ButtonProps, 'size'> & {
|
|
19
|
-
size?: 'sm';
|
|
20
|
-
};
|
|
21
|
-
isDisabled?: boolean;
|
|
22
|
-
isLoading?: boolean;
|
|
23
|
-
isSkeleton?: boolean;
|
|
24
|
-
isError?: boolean;
|
|
25
|
-
autoComplete?: string;
|
|
26
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
|
-
};
|
|
28
|
-
export declare const Input: ({ type, placeholder, name, id, value, helper, className, leadingIcon, leadingFunction, leadingText, trailingIcon, trailingFunction, trailingText, button, isDisabled, isLoading, isSkeleton, isError, onChange, ...props }: InputProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { InputProps } from './Input';
|
|
3
|
-
declare const meta: Meta<InputProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<InputProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const All: Story;
|
|
8
|
-
export declare const FormikField: Story;
|
|
9
|
-
export declare const State: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type RadioProps = {
|
|
3
|
-
name: string;
|
|
4
|
-
id?: string;
|
|
5
|
-
value: string;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
helper?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
total?: string;
|
|
11
|
-
content?: string;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
isSkeleton?: boolean;
|
|
14
|
-
isError?: boolean;
|
|
15
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
16
|
-
};
|
|
17
|
-
export declare const Radio: ({ name, id, value, checked, helper, className, label, total, content, isDisabled, isSkeleton, isError, onChange, }: RadioProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { RadioProps } from './Radio';
|
|
3
|
-
declare const meta: Meta<RadioProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<RadioProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Content: Story;
|
|
8
|
-
export declare const State: Story;
|
|
9
|
-
export declare const StateText: Story;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type Option = {
|
|
3
|
-
value: string | number;
|
|
4
|
-
label: string;
|
|
5
|
-
};
|
|
6
|
-
export type SelectProps = {
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
options: Option[];
|
|
9
|
-
name: string;
|
|
10
|
-
id?: string;
|
|
11
|
-
value: string;
|
|
12
|
-
helper?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
isDisabled?: boolean;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
isSkeleton?: boolean;
|
|
17
|
-
isError?: boolean;
|
|
18
|
-
onChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
19
|
-
};
|
|
20
|
-
export declare const Select: ({ placeholder, options, name, id, value, helper, className, isDisabled, isLoading, isSkeleton, isError, onChange, }: SelectProps) => React.JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { SelectProps } from './Select';
|
|
3
|
-
declare const meta: Meta<SelectProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<SelectProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const FormikField: Story;
|
|
8
|
-
export declare const State: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type TextareaProps = {
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
value: string;
|
|
7
|
-
helper?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
isSkeleton?: boolean;
|
|
12
|
-
isError?: boolean;
|
|
13
|
-
onChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
14
|
-
};
|
|
15
|
-
export declare const Textarea: ({ placeholder, name, id, value, helper, className, isDisabled, isLoading, isSkeleton, isError, onChange, }: TextareaProps) => React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { TextareaProps } from './Textarea';
|
|
3
|
-
declare const meta: Meta<TextareaProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<TextareaProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const FormikField: Story;
|
|
8
|
-
export declare const State: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { ColorsProps } from './Colors';
|
|
3
|
-
declare const meta: Meta<ColorsProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ColorsProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const AllColors: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Example: () => import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Example } from './Example';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SizeType } from '../../../types/system';
|
|
3
|
-
import * as icons from 'lucide-react';
|
|
4
|
-
type AvailableIcons = keyof typeof icons;
|
|
5
|
-
export interface IconProps {
|
|
6
|
-
name: AvailableIcons | null;
|
|
7
|
-
size: SizeType;
|
|
8
|
-
strokeWidth?: number;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function Icon({ name, size, strokeWidth, className }: IconProps): false | React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NiceModalHandler } from '@ebay/nice-modal-react';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { ModalFooterProps, ModalHeaderProps } from './_components';
|
|
4
|
-
export type ModalProps = {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
modal: NiceModalHandler;
|
|
7
|
-
headerProps?: ModalHeaderProps;
|
|
8
|
-
footerProps?: ModalFooterProps;
|
|
9
|
-
sheet?: boolean;
|
|
10
|
-
mobileDraggable?: boolean;
|
|
11
|
-
backdropClose?: boolean;
|
|
12
|
-
bottomSheet?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare const Modal: ({ children, modal, headerProps, footerProps, sheet, mobileDraggable, backdropClose, bottomSheet, }: ModalProps) => React.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { ButtonProps } from '../../ui/Button';
|
|
3
|
-
declare const meta: Meta;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const ButtonOpen: StoryObj<ButtonProps>;
|
|
6
|
-
export declare const Sheet: StoryObj<ButtonProps>;
|
|
7
|
-
export declare const MobileBottom: StoryObj<ButtonProps>;
|
|
8
|
-
export declare const PreventClose: StoryObj<ButtonProps>;
|
|
9
|
-
export declare const HeaderModal: StoryObj;
|
|
10
|
-
export declare const FooterModal: StoryObj;
|
|
11
|
-
export declare const ModalOpen: StoryObj;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type ModalFooterProps = {
|
|
3
|
-
title?: string;
|
|
4
|
-
subtext?: string;
|
|
5
|
-
leading?: React.ReactNode;
|
|
6
|
-
trailing?: React.ReactNode;
|
|
7
|
-
fullWidth?: boolean;
|
|
8
|
-
hasBorder?: boolean;
|
|
9
|
-
hasShadow?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const ModalFooter: ({ title, subtext, leading, trailing, fullWidth, }: ModalFooterProps) => React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type ModalHeaderProps = {
|
|
3
|
-
title?: string;
|
|
4
|
-
subtext?: string;
|
|
5
|
-
trailing?: React.ReactNode;
|
|
6
|
-
sheet?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const ModalHeader: ({ title, subtext, trailing, sheet, }: ModalHeaderProps) => React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type TypographyProps = {
|
|
3
|
-
element?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
4
|
-
weight?: 'text-normal' | 'text-semibold' | 'text-bold';
|
|
5
|
-
text: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const Typography: ({ element: Component, weight, text, }: TypographyProps) => React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/nextjs';
|
|
2
|
-
import { Typography, TypographyProps } from './Typography';
|
|
3
|
-
declare const meta: Meta<typeof Typography>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<TypographyProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const All: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ThemeProviderProps } from 'next-themes';
|
|
2
|
-
import { default as React, ReactNode } from 'react';
|
|
3
|
-
interface ThemeProviderPropsExtended extends ThemeProviderProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare function ThemeProvider({ children, ...props }: ThemeProviderPropsExtended): React.JSX.Element;
|
|
7
|
-
export {};
|
package/dist/data/data.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const timelineData: () => {
|
|
2
|
-
date: string;
|
|
3
|
-
role: string;
|
|
4
|
-
location: string;
|
|
5
|
-
description: string[];
|
|
6
|
-
icon: string;
|
|
7
|
-
}[];
|
|
8
|
-
export declare const projectsData: () => {
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
icon: string;
|
|
12
|
-
alt: string;
|
|
13
|
-
bgColor: string;
|
|
14
|
-
textColor: string;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}[];
|
package/dist/lib/icons.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useScroll(): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useModalData: () => boolean;
|
package/dist/lib/useMounted.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useMounted: (delay?: number) => boolean;
|
package/dist/types/system.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type VariantType = 'default' | 'text' | 'primary' | 'success' | 'outline' | 'white' | 'black' | 'anchor';
|
|
2
|
-
export declare enum Variant {
|
|
3
|
-
Default = "default",
|
|
4
|
-
Text = "text",
|
|
5
|
-
Primary = "primary",
|
|
6
|
-
Success = "success",
|
|
7
|
-
Outline = "outline",
|
|
8
|
-
White = "white",
|
|
9
|
-
Black = "black"
|
|
10
|
-
}
|
|
11
|
-
export type SizeType = 'sm' | 'md' | 'lg' | 'xl';
|
|
12
|
-
export declare enum Size {
|
|
13
|
-
Small = "sm",
|
|
14
|
-
Medium = "md",
|
|
15
|
-
Large = "lg",
|
|
16
|
-
ExtraLarge = "xl"
|
|
17
|
-
}
|
|
18
|
-
export type ImageProps = {
|
|
19
|
-
src: string;
|
|
20
|
-
alt: string;
|
|
21
|
-
sizes: string;
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
};
|