@zerodev/react-ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +89 -0
  2. package/dist/_types/components/Badge/index.d.ts +10 -0
  3. package/dist/_types/components/Badge/index.d.ts.map +1 -0
  4. package/dist/_types/components/Button/index.d.ts +10 -0
  5. package/dist/_types/components/Button/index.d.ts.map +1 -0
  6. package/dist/_types/components/Callout/index.d.ts +6 -0
  7. package/dist/_types/components/Callout/index.d.ts.map +1 -0
  8. package/dist/_types/components/Icon/index.d.ts +9 -0
  9. package/dist/_types/components/Icon/index.d.ts.map +1 -0
  10. package/dist/_types/components/IconButton/index.d.ts +7 -0
  11. package/dist/_types/components/IconButton/index.d.ts.map +1 -0
  12. package/dist/_types/components/Input/index.d.ts +13 -0
  13. package/dist/_types/components/Input/index.d.ts.map +1 -0
  14. package/dist/_types/components/ListItem/index.d.ts +23 -0
  15. package/dist/_types/components/ListItem/index.d.ts.map +1 -0
  16. package/dist/_types/components/Switch/index.d.ts +6 -0
  17. package/dist/_types/components/Switch/index.d.ts.map +1 -0
  18. package/dist/_types/components/Text/index.d.ts +8 -0
  19. package/dist/_types/components/Text/index.d.ts.map +1 -0
  20. package/dist/_types/components/WrappedPressable/index.d.ts +7 -0
  21. package/dist/_types/components/WrappedPressable/index.d.ts.map +1 -0
  22. package/dist/_types/components/Wrapper/index.d.ts +7 -0
  23. package/dist/_types/components/Wrapper/index.d.ts.map +1 -0
  24. package/dist/_types/index.d.ts +17 -0
  25. package/dist/_types/index.d.ts.map +1 -0
  26. package/dist/_types/utils/common.d.ts +3 -0
  27. package/dist/_types/utils/common.d.ts.map +1 -0
  28. package/dist/index.cjs +2 -0
  29. package/dist/index.cjs.map +1 -0
  30. package/dist/index.mjs +3751 -0
  31. package/dist/index.mjs.map +1 -0
  32. package/dist/styles.css +2 -0
  33. package/package.json +84 -0
  34. package/src/components/Badge/index.tsx +45 -0
  35. package/src/components/Button/index.tsx +81 -0
  36. package/src/components/Callout/index.tsx +23 -0
  37. package/src/components/Icon/index.tsx +43 -0
  38. package/src/components/IconButton/index.tsx +24 -0
  39. package/src/components/Input/index.tsx +147 -0
  40. package/src/components/ListItem/index.tsx +136 -0
  41. package/src/components/Switch/index.tsx +35 -0
  42. package/src/components/Text/index.tsx +20 -0
  43. package/src/components/WrappedPressable/index.tsx +46 -0
  44. package/src/components/Wrapper/index.tsx +43 -0
  45. package/src/index.ts +33 -0
  46. package/src/svg.d.ts +6 -0
  47. package/src/utils/common.ts +17 -0
  48. package/tailwind.config.ts +58 -0
package/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # @zerodev/react-ui
2
+
3
+ React UI primitives for ZeroDev — the shared component layer that
4
+ [`@zerodev/wallet-react-ui`](../wallet-react-ui/README.md) is built on. Frosted-glass surfaces,
5
+ buttons, inputs, icons, and other building blocks, styled with a fixed ZeroDev
6
+ look via Tailwind CSS v4.
7
+
8
+ These are **opinionated, branded primitives** (not a generic design system): the
9
+ ZeroDev palette and type scale are baked in. They're domain-agnostic, though —
10
+ nothing here knows about wallets or web3.
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pnpm add @zerodev/react-ui react react-dom
16
+ ```
17
+
18
+ > `react` and `react-dom` (v18 or v19) are **peer dependencies**.
19
+
20
+ ## Setup
21
+
22
+ Import the stylesheet once at your app entry point — it ships the compiled
23
+ Tailwind output including the ZeroDev design tokens:
24
+
25
+ ```tsx
26
+ import '@zerodev/react-ui/styles.css'
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```tsx
32
+ import { Button, Callout, Switch, Icon } from '@zerodev/react-ui'
33
+
34
+ function Example() {
35
+ return (
36
+ <>
37
+ <Callout title="Heads up" description="Review before continuing." />
38
+ <Button text="Confirm" action="primary" iconName="check" />
39
+ <Switch value onValueChange={() => {}} />
40
+ <Icon name="wallet" className="w-6 h-6 text-solarOrange" />
41
+ </>
42
+ )
43
+ }
44
+ ```
45
+
46
+ ## Components
47
+
48
+ | Export | Description |
49
+ | --- | --- |
50
+ | `Wrapper` | Frosted-glass surface primitive (`ghost` / `soft` / `solid` variants). Most other components compose it. |
51
+ | `WrappedPressable` | Interactive (pressable) frosted surface for arbitrary children. |
52
+ | `Button` | Labeled call-to-action with `primary` / `secondary` actions and optional leading/trailing icon. |
53
+ | `IconButton` | Square icon-only button. |
54
+ | `Icon` | SVG icon renderer; resolves icons by name from the bundled icon set. |
55
+ | `Input` | Text / multiline input with `default` / `ghost` / `listItemStyle` variants. |
56
+ | `Switch` | On/off toggle (`role="switch"`). |
57
+ | `Badge` | Pill label with optional leading/trailing icons. |
58
+ | `ListItem` | Row with leading icon/image, title/subtitle/badge, and trailing details or chevron. Ships `ListItemSkeleton`. |
59
+ | `Callout` | Info callout box (icon + title + description). |
60
+ | `Text` | Polymorphic text primitive (`p` / `span` / `label` / `a`). |
61
+
62
+ ### Utilities
63
+
64
+ | Export | Description |
65
+ | --- | --- |
66
+ | `cn` | `clsx` + `tailwind-merge` class-name combiner. |
67
+ | `icons` | The name → component map backing `<Icon />`. |
68
+
69
+ Every component exports its prop type (e.g. `ButtonProps`, `IconProps`,
70
+ `WrapperVariant`).
71
+
72
+ ## Design tokens
73
+
74
+ Styling is driven by Tailwind CSS v4. The token source ships with the package
75
+ (`tailwind.config.ts`), exposing the ZeroDev palette and type scale — e.g.
76
+ `solarOrange`, `offWhite`, `greyScale`, and the `text-body1..4` / `text-h1..3`
77
+ text utilities — which the components reference. Consuming apps that use Tailwind
78
+ can scan this package's source (the published `src/` is included for that
79
+ purpose) to pick up the same tokens.
80
+
81
+ ## Development
82
+
83
+ ```bash
84
+ pnpm build # build the package (dist + types + css)
85
+ pnpm dev # watch mode (types)
86
+ pnpm typecheck
87
+ pnpm test # vitest
88
+ pnpm storybook # component catalog
89
+ ```
@@ -0,0 +1,10 @@
1
+ import { type IconName } from '../Icon';
2
+ export interface BadgeProps {
3
+ text: string;
4
+ variant?: 'primary' | 'secondary';
5
+ leadingIcon?: IconName;
6
+ trailingIcon?: IconName;
7
+ className?: string;
8
+ }
9
+ export declare function Badge({ text, variant, leadingIcon, trailingIcon, className, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG7C,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC,WAAW,CAAC,EAAE,QAAQ,CAAA;IACtB,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAOD,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAmB,EACnB,WAAW,EACX,YAAY,EACZ,SAAS,GACV,EAAE,UAAU,2CAqBZ"}
@@ -0,0 +1,10 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ import { type IconName } from '../Icon';
3
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ text?: string;
5
+ iconName?: IconName;
6
+ action?: 'primary' | 'secondary';
7
+ trailIcon?: boolean;
8
+ }
9
+ export declare function Button({ text, className, iconName, trailIcon, disabled, action, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAiB,MAAM,OAAO,CAAA;AAGhE,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAgC7C,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAkB,EAClB,GAAG,IAAI,EACR,EAAE,WAAW,2CA8Bb"}
@@ -0,0 +1,6 @@
1
+ export interface CalloutProps {
2
+ title: string;
3
+ description: string;
4
+ }
5
+ export declare function Callout({ title, description }: CalloutProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Callout/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,YAAY,2CAa3D"}
@@ -0,0 +1,9 @@
1
+ import type { FC, SVGProps } from 'react';
2
+ declare const icons: Record<string, FC<SVGProps<SVGSVGElement>>>;
3
+ export { icons };
4
+ export type IconName = keyof typeof icons;
5
+ export interface IconProps extends SVGProps<SVGSVGElement> {
6
+ name: IconName;
7
+ }
8
+ export declare function Icon({ name, className, ...props }: IconProps): import("react/jsx-runtime").JSX.Element | null;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAuBzC,QAAA,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAM,CAAA;AAO7D,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAA;AAEzC,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACxD,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,kDAI5D"}
@@ -0,0 +1,7 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ import { type IconName } from '../Icon';
3
+ export interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ iconName: IconName;
5
+ }
6
+ export declare function IconButton({ iconName, className, ...rest }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAGjD,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG7C,MAAM,WAAW,eACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAY3E"}
@@ -0,0 +1,13 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ import { type IconName } from '../Icon';
3
+ type Variant = 'default' | 'ghost' | 'listItemStyle';
4
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'children'> {
5
+ variant?: Variant;
6
+ multiline?: boolean;
7
+ iconName?: IconName;
8
+ children?: React.ReactNode;
9
+ containerClassName?: string;
10
+ }
11
+ export declare function Input({ variant, multiline, iconName, children, className, containerClassName, onFocus, onBlur, ...inputProps }: InputProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,OAAO,CAAA;AAGd,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG7C,KAAK,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,eAAe,CAAA;AAEpD,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAoCD,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,OAAO,EACP,MAAM,EACN,GAAG,UAAU,EACd,EAAE,UAAU,2CAiFZ"}
@@ -0,0 +1,23 @@
1
+ import type { ButtonHTMLAttributes } from 'react';
2
+ import { type BadgeProps } from '../Badge';
3
+ import { type IconName } from '../Icon';
4
+ interface ListItemSkeletonProps {
5
+ className?: string;
6
+ }
7
+ export declare function ListItemSkeleton({ className }: ListItemSkeletonProps): import("react/jsx-runtime").JSX.Element;
8
+ export interface ListItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
9
+ iconName?: IconName;
10
+ imageUri?: string;
11
+ title: string;
12
+ subtitle?: string;
13
+ badgeProps?: BadgeProps;
14
+ details?: {
15
+ text: string;
16
+ subtext?: string;
17
+ };
18
+ chevron?: boolean;
19
+ alert?: boolean;
20
+ }
21
+ export declare function ListItem({ iconName, imageUri, title, subtitle, badgeProps, details, chevron, alert, className, ...rest }: ListItemProps): import("react/jsx-runtime").JSX.Element;
22
+ export {};
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ListItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAGjD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAI7C,UAAU,qBAAqB;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,EAAE,qBAAqB,2CAuBpE;AAED,MAAM,WAAW,aAAc,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC5E,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,OAAO,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,EACT,GAAG,IAAI,EACR,EAAE,aAAa,2CA4Ef"}
@@ -0,0 +1,6 @@
1
+ export interface SwitchProps {
2
+ value?: boolean;
3
+ onValueChange?: () => void;
4
+ }
5
+ export declare function Switch({ value, onValueChange }: SwitchProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,WAAW,2CAyB3D"}
@@ -0,0 +1,8 @@
1
+ import type { AnchorHTMLAttributes, HTMLAttributes } from 'react';
2
+ export type TextProps = ({
3
+ as?: 'p' | 'span' | 'label';
4
+ } & HTMLAttributes<HTMLElement>) | ({
5
+ as: 'a';
6
+ } & AnchorHTMLAttributes<HTMLAnchorElement>);
7
+ export declare function Text({ as: Tag, className, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAIjE,MAAM,MAAM,SAAS,GACjB,CAAC;IAAE,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC,GAC/D,CAAC;IAAE,EAAE,EAAE,GAAG,CAAA;CAAE,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAE3D,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,GAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAWrE"}
@@ -0,0 +1,7 @@
1
+ import { type ButtonHTMLAttributes, type ReactNode } from 'react';
2
+ export interface WrappedPressableProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
+ className?: string;
4
+ children: ReactNode;
5
+ }
6
+ export declare function WrappedPressable({ className, children, onMouseEnter, onMouseLeave, ...rest }: WrappedPressableProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/WrappedPressable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAK3E,MAAM,WAAW,qBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,qBAAqB,2CA4BvB"}
@@ -0,0 +1,7 @@
1
+ import type { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export type WrapperVariant = 'ghost' | 'soft' | 'solid';
3
+ export interface WrapperProps extends HTMLAttributes<HTMLDivElement> {
4
+ variant?: WrapperVariant;
5
+ }
6
+ export declare function Wrapper({ className, children, variant, ...rest }: PropsWithChildren<WrapperProps>): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAI9D,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEvD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,OAAO,CAAC,EAAE,cAAc,CAAA;CACzB;AAaD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,OAAgB,EAChB,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,YAAY,CAAC,2CAgBjC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @zerodev/react-ui
3
+ * React UI primitives for ZeroDev
4
+ */
5
+ export { Badge, type BadgeProps } from './components/Badge';
6
+ export { Button, type ButtonProps } from './components/Button';
7
+ export { Callout, type CalloutProps } from './components/Callout';
8
+ export { Icon, type IconName, type IconProps, icons, } from './components/Icon';
9
+ export { IconButton, type IconButtonProps } from './components/IconButton';
10
+ export { Input, type InputProps } from './components/Input';
11
+ export { ListItem, type ListItemProps, ListItemSkeleton, } from './components/ListItem';
12
+ export { Switch, type SwitchProps } from './components/Switch';
13
+ export { Text, type TextProps } from './components/Text';
14
+ export { WrappedPressable, type WrappedPressableProps, } from './components/WrappedPressable';
15
+ export { Wrapper, type WrapperProps, type WrapperVariant, } from './components/Wrapper';
16
+ export { cn } from './utils/common';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EACL,IAAI,EACJ,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,GACN,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,gBAAgB,GACjB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,+BAA+B,CAAA;AACtC,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,cAAc,GACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAc5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}