@n3wth/ui 0.1.0
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/atoms/Badge/Badge.d.ts +8 -0
- package/dist/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/atoms/Badge/index.d.ts +3 -0
- package/dist/atoms/Badge/index.d.ts.map +1 -0
- package/dist/atoms/Button/Button.d.ts +12 -0
- package/dist/atoms/Button/Button.d.ts.map +1 -0
- package/dist/atoms/Button/index.d.ts +3 -0
- package/dist/atoms/Button/index.d.ts.map +1 -0
- package/dist/atoms/Icon/Icon.d.ts +8 -0
- package/dist/atoms/Icon/Icon.d.ts.map +1 -0
- package/dist/atoms/Icon/index.d.ts +3 -0
- package/dist/atoms/Icon/index.d.ts.map +1 -0
- package/dist/atoms/Input/Input.d.ts +10 -0
- package/dist/atoms/Input/Input.d.ts.map +1 -0
- package/dist/atoms/Input/index.d.ts +3 -0
- package/dist/atoms/Input/index.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +9 -0
- package/dist/atoms/index.d.ts.map +1 -0
- package/dist/fonts/Geist-Medium.woff2 +0 -0
- package/dist/fonts/Geist-Regular.woff2 +0 -0
- package/dist/fonts/Geist-SemiBold.woff2 +0 -0
- package/dist/fonts/GeistMono-Medium.woff2 +0 -0
- package/dist/fonts/GeistMono-Regular.woff2 +0 -0
- package/dist/fonts/MonaSans-Variable-Italic.woff2 +0 -0
- package/dist/fonts/MonaSans-Variable.woff2 +0 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts +17 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +5 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/hooks/useReducedMotion.d.ts +2 -0
- package/dist/hooks/useReducedMotion.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts +15 -0
- package/dist/hooks/useTheme.d.ts.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3275 -0
- package/dist/molecules/Card/Card.d.ts +29 -0
- package/dist/molecules/Card/Card.d.ts.map +1 -0
- package/dist/molecules/Card/index.d.ts +3 -0
- package/dist/molecules/Card/index.d.ts.map +1 -0
- package/dist/molecules/CommandBox/CommandBox.d.ts +9 -0
- package/dist/molecules/CommandBox/CommandBox.d.ts.map +1 -0
- package/dist/molecules/CommandBox/index.d.ts +3 -0
- package/dist/molecules/CommandBox/index.d.ts.map +1 -0
- package/dist/molecules/NavLink/NavLink.d.ts +8 -0
- package/dist/molecules/NavLink/NavLink.d.ts.map +1 -0
- package/dist/molecules/NavLink/index.d.ts +3 -0
- package/dist/molecules/NavLink/index.d.ts.map +1 -0
- package/dist/molecules/ThemeToggle/ThemeToggle.d.ts +8 -0
- package/dist/molecules/ThemeToggle/ThemeToggle.d.ts.map +1 -0
- package/dist/molecules/ThemeToggle/index.d.ts +3 -0
- package/dist/molecules/ThemeToggle/index.d.ts.map +1 -0
- package/dist/molecules/index.d.ts +9 -0
- package/dist/molecules/index.d.ts.map +1 -0
- package/dist/organisms/Footer/Footer.d.ts +23 -0
- package/dist/organisms/Footer/Footer.d.ts.map +1 -0
- package/dist/organisms/Footer/index.d.ts +3 -0
- package/dist/organisms/Footer/index.d.ts.map +1 -0
- package/dist/organisms/Hero/Hero.d.ts +17 -0
- package/dist/organisms/Hero/Hero.d.ts.map +1 -0
- package/dist/organisms/Hero/index.d.ts +3 -0
- package/dist/organisms/Hero/index.d.ts.map +1 -0
- package/dist/organisms/Nav/Nav.d.ts +19 -0
- package/dist/organisms/Nav/Nav.d.ts.map +1 -0
- package/dist/organisms/Nav/index.d.ts +3 -0
- package/dist/organisms/Nav/index.d.ts.map +1 -0
- package/dist/organisms/Section/Section.d.ts +15 -0
- package/dist/organisms/Section/Section.d.ts.map +1 -0
- package/dist/organisms/Section/index.d.ts +3 -0
- package/dist/organisms/Section/index.d.ts.map +1 -0
- package/dist/organisms/index.d.ts +9 -0
- package/dist/organisms/index.d.ts.map +1 -0
- package/dist/styles.css +851 -0
- package/dist/tokens/colors.d.ts +56 -0
- package/dist/tokens/colors.d.ts.map +1 -0
- package/dist/tokens/effects.d.ts +20 -0
- package/dist/tokens/effects.d.ts.map +1 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/spacing.d.ts +28 -0
- package/dist/tokens/spacing.d.ts.map +1 -0
- package/dist/tokens/typography.d.ts +46 -0
- package/dist/tokens/typography.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +61 -0
- package/public/fonts/Geist-Medium.woff2 +0 -0
- package/public/fonts/Geist-Regular.woff2 +0 -0
- package/public/fonts/Geist-SemiBold.woff2 +0 -0
- package/public/fonts/GeistMono-Medium.woff2 +0 -0
- package/public/fonts/GeistMono-Regular.woff2 +0 -0
- package/public/fonts/MonaSans-Variable-Italic.woff2 +0 -0
- package/public/fonts/MonaSans-Variable.woff2 +0 -0
- package/tailwind.preset.js +59 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
3
|
+
variant?: 'default' | 'sage' | 'coral' | 'mint' | 'gold' | 'outline';
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function Badge({ variant, size, children, className, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/atoms/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG3D,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACpE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,IAAW,EACX,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,UAAU,2CAoDZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'glass';
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
leftIcon?: ReactNode;
|
|
8
|
+
rightIcon?: ReactNode;
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/atoms/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,SAAS,EAGf,MAAM,OAAO,CAAA;AAGd,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAA;IACrD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,MAAM,2GA+FlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export interface IconProps extends SVGProps<SVGSVGElement> {
|
|
3
|
+
name: IconName;
|
|
4
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
+
}
|
|
6
|
+
export type IconName = 'arrow-right' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'chevron-up' | 'check' | 'x' | 'copy' | 'search' | 'menu' | 'sun' | 'moon' | 'external' | 'github' | 'terminal' | 'code' | 'sparkles';
|
|
7
|
+
export declare function Icon({ name, size, className, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGrC,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACxD,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACxC;AAED,MAAM,MAAM,QAAQ,GAChB,aAAa,GACb,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,eAAe,GACf,cAAc,GACd,cAAc,GACd,YAAY,GACZ,OAAO,GACP,GAAG,GACH,MAAM,GACN,QAAQ,GACR,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,GACR,UAAU,GACV,MAAM,GACN,UAAU,CAAA;AAmCd,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAW,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAkBzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
variant?: 'default' | 'glass';
|
|
4
|
+
inputSize?: 'sm' | 'md' | 'lg';
|
|
5
|
+
leftIcon?: ReactNode;
|
|
6
|
+
rightIcon?: ReactNode;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
10
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/atoms/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG5E,MAAM,WAAW,UAAW,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IACvE,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,KAAK,yGA8EjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
export type { ButtonProps } from './Button';
|
|
3
|
+
export { Badge } from './Badge';
|
|
4
|
+
export type { BadgeProps } from './Badge';
|
|
5
|
+
export { Input } from './Input';
|
|
6
|
+
export type { InputProps } from './Input';
|
|
7
|
+
export { Icon } from './Icon';
|
|
8
|
+
export type { IconProps, IconName } from './Icon';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { useTheme } from './useTheme';
|
|
2
|
+
export type { Theme, UseThemeOptions, UseThemeReturn } from './useTheme';
|
|
3
|
+
export { useKeyboardShortcuts, getModifierKey, formatShortcut, } from './useKeyboardShortcuts';
|
|
4
|
+
export type { KeyboardShortcut, UseKeyboardShortcutsOptions } from './useKeyboardShortcuts';
|
|
5
|
+
export { useReducedMotion } from './useReducedMotion';
|
|
6
|
+
export { useMediaQuery, useIsMobile, useIsTablet, useIsDesktop, } from './useMediaQuery';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAExE,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,cAAc,GACf,MAAM,wBAAwB,CAAA;AAC/B,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAA;AAE3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,YAAY,GACb,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface KeyboardShortcut {
|
|
2
|
+
key: string;
|
|
3
|
+
ctrl?: boolean;
|
|
4
|
+
meta?: boolean;
|
|
5
|
+
shift?: boolean;
|
|
6
|
+
alt?: boolean;
|
|
7
|
+
handler: () => void;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UseKeyboardShortcutsOptions {
|
|
11
|
+
shortcuts: KeyboardShortcut[];
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function useKeyboardShortcuts({ shortcuts, enabled, }: UseKeyboardShortcutsOptions): void;
|
|
15
|
+
export declare function getModifierKey(): 'meta' | 'ctrl';
|
|
16
|
+
export declare function formatShortcut(shortcut: KeyboardShortcut): string;
|
|
17
|
+
//# sourceMappingURL=useKeyboardShortcuts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../src/hooks/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,gBAAgB,EAAE,CAAA;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,OAAc,GACf,EAAE,2BAA2B,GAAG,IAAI,CAuCpC;AAGD,wBAAgB,cAAc,IAAI,MAAM,GAAG,MAAM,CAGhD;AAGD,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAWjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/hooks/useMediaQuery.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAiBpD;AAGD,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,YAAY,IAAI,OAAO,CAEtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReducedMotion.d.ts","sourceRoot":"","sources":["../../src/hooks/useReducedMotion.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,IAAI,OAAO,CAiB1C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type Theme = 'dark' | 'light';
|
|
2
|
+
export interface UseThemeOptions {
|
|
3
|
+
defaultTheme?: Theme;
|
|
4
|
+
storageKey?: string;
|
|
5
|
+
attribute?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface UseThemeReturn {
|
|
8
|
+
theme: Theme;
|
|
9
|
+
setTheme: (theme: Theme) => void;
|
|
10
|
+
toggleTheme: () => void;
|
|
11
|
+
isDark: boolean;
|
|
12
|
+
isLight: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function useTheme(options?: UseThemeOptions): UseThemeReturn;
|
|
15
|
+
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpC,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAChC,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,cAAc,CA+DtE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from './tokens';
|
|
2
|
+
export { cn } from './utils/cn';
|
|
3
|
+
export { Button } from './atoms/Button';
|
|
4
|
+
export type { ButtonProps } from './atoms/Button';
|
|
5
|
+
export { Badge } from './atoms/Badge';
|
|
6
|
+
export type { BadgeProps } from './atoms/Badge';
|
|
7
|
+
export { Input } from './atoms/Input';
|
|
8
|
+
export type { InputProps } from './atoms/Input';
|
|
9
|
+
export { Icon } from './atoms/Icon';
|
|
10
|
+
export type { IconProps, IconName } from './atoms/Icon';
|
|
11
|
+
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from './molecules/Card';
|
|
12
|
+
export type { CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, } from './molecules/Card';
|
|
13
|
+
export { NavLink } from './molecules/NavLink';
|
|
14
|
+
export type { NavLinkProps } from './molecules/NavLink';
|
|
15
|
+
export { CommandBox } from './molecules/CommandBox';
|
|
16
|
+
export type { CommandBoxProps } from './molecules/CommandBox';
|
|
17
|
+
export { ThemeToggle } from './molecules/ThemeToggle';
|
|
18
|
+
export type { ThemeToggleProps } from './molecules/ThemeToggle';
|
|
19
|
+
export { Nav } from './organisms/Nav';
|
|
20
|
+
export type { NavProps, NavItem } from './organisms/Nav';
|
|
21
|
+
export { Footer } from './organisms/Footer';
|
|
22
|
+
export type { FooterProps, FooterSection, FooterLink } from './organisms/Footer';
|
|
23
|
+
export { Hero } from './organisms/Hero';
|
|
24
|
+
export type { HeroProps, HeroCTA } from './organisms/Hero';
|
|
25
|
+
export { Section, SectionHeader } from './organisms/Section';
|
|
26
|
+
export type { SectionProps, SectionHeaderProps } from './organisms/Section';
|
|
27
|
+
export { useTheme } from './hooks/useTheme';
|
|
28
|
+
export type { Theme, UseThemeOptions, UseThemeReturn } from './hooks/useTheme';
|
|
29
|
+
export { useKeyboardShortcuts, getModifierKey, formatShortcut, } from './hooks/useKeyboardShortcuts';
|
|
30
|
+
export type { KeyboardShortcut, UseKeyboardShortcutsOptions } from './hooks/useKeyboardShortcuts';
|
|
31
|
+
export { useReducedMotion } from './hooks/useReducedMotion';
|
|
32
|
+
export { useMediaQuery, useIsMobile, useIsTablet, useIsDesktop, } from './hooks/useMediaQuery';
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAA;AAGxB,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAGvD,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,UAAU,GACX,MAAM,kBAAkB,CAAA;AACzB,YAAY,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,GAChB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG/D,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEhF,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC5D,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAG3E,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,YAAY,EAAE,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE9E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,cAAc,GACf,MAAM,8BAA8B,CAAA;AACrC,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;AAEjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,YAAY,GACb,MAAM,uBAAuB,CAAA"}
|