trails/packages/ui/src/index.ts
Ullrich Schäfer a56445daf3
feat(ui): Select primitive; restyle ProfileSelector on tokens
- New Select primitive in @trails-cool/ui: token-styled native <select>
  (appearance-none + overlaid chevron for a consistent closed control),
  sm/md sizes, sibling of Input. Unit-tested + added to /dev/ui.
- ProfileSelector uses Select (size sm) with token label; the profile
  label now hides on small screens. Completes the topbar's migration
  onto the design system.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 00:12:23 +02:00

25 lines
917 B
TypeScript

export { cn } from "./cn.ts";
export { Button } from "./Button.tsx";
export type { ButtonProps, ButtonVariant, ButtonSize } from "./Button.tsx";
export { Badge } from "./Badge.tsx";
export type { BadgeProps, BadgeTone } from "./Badge.tsx";
export { Card } from "./Card.tsx";
export type { CardProps } from "./Card.tsx";
export { Input } from "./Input.tsx";
export type { InputProps } from "./Input.tsx";
export { Select } from "./Select.tsx";
export type { SelectProps, SelectSize } from "./Select.tsx";
export { IconButton } from "./IconButton.tsx";
export type {
IconButtonProps,
IconButtonVariant,
IconButtonSize,
} from "./IconButton.tsx";
export { SegmentedControl } from "./SegmentedControl.tsx";
export type {
SegmentedControlProps,
SegmentedOption,
SegmentedSize,
} from "./SegmentedControl.tsx";
export { Avatar } from "./Avatar.tsx";
export type { AvatarProps, AvatarSize } from "./Avatar.tsx";