@oddmash/ui 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +30 -2
- package/dist/badge.d.ts +12 -0
- package/dist/badge.js +8 -0
- package/dist/button.d.ts +14 -0
- package/dist/button.js +8 -0
- package/dist/card.d.ts +8 -0
- package/dist/card.js +8 -0
- package/dist/chunk-3TIYT55P.js +14 -0
- package/dist/chunk-4YJMCYQW.js +23 -0
- package/dist/chunk-54STG2JB.js +8 -0
- package/dist/chunk-5NGRPREI.js +14 -0
- package/dist/chunk-KU7UNDPK.js +14 -0
- package/dist/chunk-ME34NDSX.js +28 -0
- package/dist/chunk-VIWYEDTD.js +14 -0
- package/dist/chunk-YGBV3KG6.js +47 -0
- package/dist/dialog.d.ts +20 -0
- package/dist/dialog.js +18 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +48 -0
- package/dist/input.d.ts +8 -0
- package/dist/input.js +8 -0
- package/dist/styles.css +373 -0
- package/dist/tabs.d.ts +9 -0
- package/dist/tabs.js +14 -0
- package/dist/tokens.css +167 -0
- package/dist/tokens.d.ts +44 -0
- package/dist/tokens.js +7 -0
- package/package.json +109 -4
- package/tokens/primitive.json +460 -0
- package/tokens/semantic/dark.json +188 -0
- package/tokens/semantic/light.json +188 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Oddmash
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Oddmash UI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**English** · [한국어](docs/ko/README.md) · [日本語](docs/ja/README.md) · [简体中文](docs/zh-CN/README.md)
|
|
4
|
+
|
|
5
|
+
Oddmash UI is the shared interface foundation for Oddmash products. It gives small React developer tools a consistent visual language, accessible interaction patterns, and themeable design tokens without deciding the product layout for them.
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## What it provides
|
|
10
|
+
|
|
11
|
+
- Accessible React primitives for buttons, inputs, cards, badges, tabs, and dialogs.
|
|
12
|
+
- JSON design tokens for color, typography, spacing, radius, shadow, border, and motion.
|
|
13
|
+
- Light and dark themes that can be applied to a whole app or a single subtree.
|
|
14
|
+
- A documentation site with live examples, API guidance, accessibility notes, and a token explorer.
|
|
15
|
+
|
|
16
|
+
## Who it is for
|
|
17
|
+
|
|
18
|
+
Oddmash UI is for focused tools such as Interaction Inspector: products that need clear controls and dependable behavior but should not each invent a new component system. Product-specific layout, information hierarchy, and branding remain in the product.
|
|
19
|
+
|
|
20
|
+
## Design principles
|
|
21
|
+
|
|
22
|
+
- **Consistent by default.** Shared components and semantic tokens make Oddmash tools feel related.
|
|
23
|
+
- **Accessible in behavior.** Keyboard interaction, focus handling, reduced motion, and forced colors are part of the component contract.
|
|
24
|
+
- **Themeable, not prescriptive.** Products can override semantic tokens without forking the components.
|
|
25
|
+
- **Small on purpose.** The system grows from real product needs rather than trying to cover every UI pattern.
|
|
26
|
+
|
|
27
|
+
## Current scope
|
|
28
|
+
|
|
29
|
+
Oddmash UI is under active pre-1.0 development. The current release surface contains six component families and is not yet published to npm. Explore the [Oddmash UI documentation](https://oddmash.github.io/oddmash-ui/) to see the system in action.
|
|
30
|
+
|
|
31
|
+
[Contributor guide](CONTRIBUTING.md) · [MIT License](LICENSE)
|
package/dist/badge.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
type BadgeProps = ComponentPropsWithoutRef<'span'> & {
|
|
5
|
+
tone?: 'neutral' | 'accent';
|
|
6
|
+
};
|
|
7
|
+
declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
8
|
+
tone?: "neutral" | "accent";
|
|
9
|
+
} & react.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
|
|
11
|
+
export { Badge };
|
|
12
|
+
export type { BadgeProps };
|
package/dist/badge.js
ADDED
package/dist/button.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
type ButtonProps = ComponentPropsWithoutRef<'button'> & {
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
6
|
+
size?: 'sm' | 'md';
|
|
7
|
+
};
|
|
8
|
+
declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
9
|
+
variant?: "primary" | "secondary" | "ghost";
|
|
10
|
+
size?: "sm" | "md";
|
|
11
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
|
|
13
|
+
export { Button };
|
|
14
|
+
export type { ButtonProps };
|
package/dist/button.js
ADDED
package/dist/card.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
type CardProps = ComponentPropsWithoutRef<'div'>;
|
|
5
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
|
|
7
|
+
export { Card };
|
|
8
|
+
export type { CardProps };
|
package/dist/card.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/button.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Button = /* @__PURE__ */ forwardRef(({ className, variant = "primary", size = "md", type = "button", ...props }, ref) => /* @__PURE__ */ jsx("button", { ...props, ref, type, className: cx("om-button", `om-button--${variant}`, `om-button--${size}`, className) }));
|
|
10
|
+
Button.displayName = "Button";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
Button
|
|
14
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/tabs.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var Tabs = TabsPrimitive.Root;
|
|
11
|
+
var TabsList = /* @__PURE__ */ forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.List, { ...props, ref, className: cx("om-tabs-list", className) }));
|
|
12
|
+
TabsList.displayName = "TabsList";
|
|
13
|
+
var TabsTrigger = /* @__PURE__ */ forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Trigger, { ...props, ref, className: cx("om-tabs-trigger", className) }));
|
|
14
|
+
TabsTrigger.displayName = "TabsTrigger";
|
|
15
|
+
var TabsContent = /* @__PURE__ */ forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Content, { ...props, ref, className: cx("om-tabs-content", className) }));
|
|
16
|
+
TabsContent.displayName = "TabsContent";
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
Tabs,
|
|
20
|
+
TabsList,
|
|
21
|
+
TabsTrigger,
|
|
22
|
+
TabsContent
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/input.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Input = /* @__PURE__ */ forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("input", { ...props, ref, className: cx("om-input", className) }));
|
|
10
|
+
Input.displayName = "Input";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
Input
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/badge.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Badge = /* @__PURE__ */ forwardRef(({ className, tone = "neutral", ...props }, ref) => /* @__PURE__ */ jsx("span", { ...props, ref, className: cx("om-badge", `om-badge--${tone}`, className) }));
|
|
10
|
+
Badge.displayName = "Badge";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
Badge
|
|
14
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/dialog.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Dialog = DialogPrimitive.Root;
|
|
11
|
+
var DialogTrigger = DialogPrimitive.Trigger;
|
|
12
|
+
var DialogClose = DialogPrimitive.Close;
|
|
13
|
+
var DialogTitle = DialogPrimitive.Title;
|
|
14
|
+
var DialogDescription = DialogPrimitive.Description;
|
|
15
|
+
var DialogContent = /* @__PURE__ */ forwardRef(({ className, children, container, theme, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { container, children: [
|
|
16
|
+
/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: "om-dialog-overlay", "data-om-theme": theme }),
|
|
17
|
+
/* @__PURE__ */ jsx(DialogPrimitive.Content, { ...props, ref, "data-om-theme": theme, className: cx("om-dialog-content", className), children })
|
|
18
|
+
] }));
|
|
19
|
+
DialogContent.displayName = "DialogContent";
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
Dialog,
|
|
23
|
+
DialogTrigger,
|
|
24
|
+
DialogClose,
|
|
25
|
+
DialogTitle,
|
|
26
|
+
DialogDescription,
|
|
27
|
+
DialogContent
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cx
|
|
4
|
+
} from "./chunk-54STG2JB.js";
|
|
5
|
+
|
|
6
|
+
// src/card.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Card = /* @__PURE__ */ forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ...props, ref, className: cx("om-card", className) }));
|
|
10
|
+
Card.displayName = "Card";
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
Card
|
|
14
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/generated/tokens.ts
|
|
4
|
+
var tokens = {
|
|
5
|
+
"color.bg": "var(--om-semantic-color-bg)",
|
|
6
|
+
"color.surface": "var(--om-semantic-color-surface)",
|
|
7
|
+
"color.text": "var(--om-semantic-color-text)",
|
|
8
|
+
"color.muted": "var(--om-semantic-color-muted)",
|
|
9
|
+
"color.border": "var(--om-semantic-color-border)",
|
|
10
|
+
"color.accent": "var(--om-semantic-color-accent)",
|
|
11
|
+
"color.accent-hover": "var(--om-semantic-color-accent-hover)",
|
|
12
|
+
"color.on-accent": "var(--om-semantic-color-on-accent)",
|
|
13
|
+
"color.danger": "var(--om-semantic-color-danger)",
|
|
14
|
+
"color.focus": "var(--om-semantic-color-focus)",
|
|
15
|
+
"color.border-subtle": "var(--om-semantic-color-border-subtle)",
|
|
16
|
+
"color.action": "var(--om-semantic-color-action)",
|
|
17
|
+
"color.on-action": "var(--om-semantic-color-on-action)",
|
|
18
|
+
"color.action-hover": "var(--om-semantic-color-action-hover)",
|
|
19
|
+
"space.xs": "var(--om-semantic-space-xs)",
|
|
20
|
+
"space.sm": "var(--om-semantic-space-sm)",
|
|
21
|
+
"space.md": "var(--om-semantic-space-md)",
|
|
22
|
+
"space.lg": "var(--om-semantic-space-lg)",
|
|
23
|
+
"space.xl": "var(--om-semantic-space-xl)",
|
|
24
|
+
"radius.sm": "var(--om-semantic-radius-sm)",
|
|
25
|
+
"radius.md": "var(--om-semantic-radius-md)",
|
|
26
|
+
"radius.lg": "var(--om-semantic-radius-lg)",
|
|
27
|
+
"radius.pill": "var(--om-semantic-radius-pill)",
|
|
28
|
+
"font.family": "var(--om-semantic-font-family)",
|
|
29
|
+
"font.size": "var(--om-semantic-font-size)",
|
|
30
|
+
"font.small": "var(--om-semantic-font-small)",
|
|
31
|
+
"font.heading": "var(--om-semantic-font-heading)",
|
|
32
|
+
"font.weight": "var(--om-semantic-font-weight)",
|
|
33
|
+
"font.line": "var(--om-semantic-font-line)",
|
|
34
|
+
"border.default": "var(--om-semantic-border-default)",
|
|
35
|
+
"border.width": "var(--om-semantic-border-width)",
|
|
36
|
+
"border.style": "var(--om-semantic-border-style)",
|
|
37
|
+
"shadow": "var(--om-semantic-shadow)",
|
|
38
|
+
"motion.duration": "var(--om-semantic-motion-duration)",
|
|
39
|
+
"motion.ease": "var(--om-semantic-motion-ease)",
|
|
40
|
+
"control.height": "var(--om-semantic-control-height)",
|
|
41
|
+
"control.small": "var(--om-semantic-control-small)",
|
|
42
|
+
"overlay": "var(--om-semantic-overlay)"
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
tokens
|
|
47
|
+
};
|
package/dist/dialog.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
|
|
5
|
+
declare const Dialog: react.FC<DialogPrimitive.DialogProps>;
|
|
6
|
+
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const DialogTitle: react.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
9
|
+
declare const DialogDescription: react.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
10
|
+
type DialogContentProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
|
|
11
|
+
container?: ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>['container'];
|
|
12
|
+
theme?: 'light' | 'dark';
|
|
13
|
+
};
|
|
14
|
+
declare const DialogContent: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
+
container?: ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>["container"];
|
|
16
|
+
theme?: "light" | "dark";
|
|
17
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
|
|
19
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger };
|
|
20
|
+
export type { DialogContentProps };
|
package/dist/dialog.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Dialog,
|
|
4
|
+
DialogClose,
|
|
5
|
+
DialogContent,
|
|
6
|
+
DialogDescription,
|
|
7
|
+
DialogTitle,
|
|
8
|
+
DialogTrigger
|
|
9
|
+
} from "./chunk-ME34NDSX.js";
|
|
10
|
+
import "./chunk-54STG2JB.js";
|
|
11
|
+
export {
|
|
12
|
+
Dialog,
|
|
13
|
+
DialogClose,
|
|
14
|
+
DialogContent,
|
|
15
|
+
DialogDescription,
|
|
16
|
+
DialogTitle,
|
|
17
|
+
DialogTrigger
|
|
18
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { Button, ButtonProps } from './button.js';
|
|
2
|
+
export { Input, InputProps } from './input.js';
|
|
3
|
+
export { Card, CardProps } from './card.js';
|
|
4
|
+
export { Badge, BadgeProps } from './badge.js';
|
|
5
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './tabs.js';
|
|
6
|
+
export { Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogTitle, DialogTrigger } from './dialog.js';
|
|
7
|
+
export { TokenName, tokens } from './tokens.js';
|
|
8
|
+
import 'react';
|
|
9
|
+
import '@radix-ui/react-tabs';
|
|
10
|
+
import '@radix-ui/react-dialog';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Button
|
|
4
|
+
} from "./chunk-3TIYT55P.js";
|
|
5
|
+
import {
|
|
6
|
+
Input
|
|
7
|
+
} from "./chunk-5NGRPREI.js";
|
|
8
|
+
import {
|
|
9
|
+
Card
|
|
10
|
+
} from "./chunk-VIWYEDTD.js";
|
|
11
|
+
import {
|
|
12
|
+
Badge
|
|
13
|
+
} from "./chunk-KU7UNDPK.js";
|
|
14
|
+
import {
|
|
15
|
+
Tabs,
|
|
16
|
+
TabsContent,
|
|
17
|
+
TabsList,
|
|
18
|
+
TabsTrigger
|
|
19
|
+
} from "./chunk-4YJMCYQW.js";
|
|
20
|
+
import {
|
|
21
|
+
Dialog,
|
|
22
|
+
DialogClose,
|
|
23
|
+
DialogContent,
|
|
24
|
+
DialogDescription,
|
|
25
|
+
DialogTitle,
|
|
26
|
+
DialogTrigger
|
|
27
|
+
} from "./chunk-ME34NDSX.js";
|
|
28
|
+
import "./chunk-54STG2JB.js";
|
|
29
|
+
import {
|
|
30
|
+
tokens
|
|
31
|
+
} from "./chunk-YGBV3KG6.js";
|
|
32
|
+
export {
|
|
33
|
+
Badge,
|
|
34
|
+
Button,
|
|
35
|
+
Card,
|
|
36
|
+
Dialog,
|
|
37
|
+
DialogClose,
|
|
38
|
+
DialogContent,
|
|
39
|
+
DialogDescription,
|
|
40
|
+
DialogTitle,
|
|
41
|
+
DialogTrigger,
|
|
42
|
+
Input,
|
|
43
|
+
Tabs,
|
|
44
|
+
TabsContent,
|
|
45
|
+
TabsList,
|
|
46
|
+
TabsTrigger,
|
|
47
|
+
tokens
|
|
48
|
+
};
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
|
|
4
|
+
type InputProps = ComponentPropsWithoutRef<'input'>;
|
|
5
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
|
|
7
|
+
export { Input };
|
|
8
|
+
export type { InputProps };
|