@harshshahcg/survey-render 1.3.0 → 1.4.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.
Files changed (64) hide show
  1. package/dist/components/{QuestionListCarousel.d.ts → QuestionListCarousel/QuestionListCarousel.d.ts} +1 -4
  2. package/dist/components/QuestionListCarousel/index.d.ts +2 -0
  3. package/dist/components/{QuestionOverviewPanel.d.ts → QuestionOverviewPanel/QuestionOverviewPanel.d.ts} +2 -1
  4. package/dist/components/QuestionOverviewPanel/index.d.ts +2 -0
  5. package/dist/components/{SubmissionLoadingOverlay.d.ts → SubmissionLoadingOverlay/SubmissionLoadingOverlay.d.ts} +1 -0
  6. package/dist/components/SubmissionLoadingOverlay/index.d.ts +2 -0
  7. package/dist/components/{SurveyContainer.d.ts → SurveyContainer/SurveyContainer.d.ts} +2 -1
  8. package/dist/components/SurveyContainer/index.d.ts +2 -0
  9. package/dist/components/SurveyProgressBar/SurveyProgressBar.d.ts +16 -0
  10. package/dist/components/SurveyProgressBar/index.d.ts +2 -0
  11. package/dist/components/custom/{DatePicker.d.ts → DatePicker/DatePicker.d.ts} +1 -0
  12. package/dist/components/custom/DatePicker/index.d.ts +2 -0
  13. package/dist/components/custom/{Dropdown.d.ts → Dropdown/Dropdown.d.ts} +1 -0
  14. package/dist/components/custom/Dropdown/index.d.ts +2 -0
  15. package/dist/components/custom/{MCQSelect.d.ts → MCQSelect/MCQSelect.d.ts} +1 -0
  16. package/dist/components/custom/MCQSelect/index.d.ts +2 -0
  17. package/dist/components/custom/{TabularInput.d.ts → TabularInput/TabularInput.d.ts} +1 -0
  18. package/dist/components/custom/TabularInput/index.d.ts +2 -0
  19. package/dist/components/custom/{TextResponse.d.ts → TextResponse/TextResponse.d.ts} +1 -0
  20. package/dist/components/custom/TextResponse/index.d.ts +2 -0
  21. package/dist/components/icons.d.ts +10 -0
  22. package/dist/components/ui/{alert.d.ts → Alert/Alert.d.ts} +11 -5
  23. package/dist/components/ui/Alert/index.d.ts +1 -0
  24. package/dist/components/ui/Badge/Badge.d.ts +9 -0
  25. package/dist/components/ui/Badge/index.d.ts +1 -0
  26. package/dist/components/ui/{button.d.ts → Button/Button.d.ts} +6 -3
  27. package/dist/components/ui/Button/index.d.ts +2 -0
  28. package/dist/components/ui/{card.d.ts → Card/Card.d.ts} +4 -1
  29. package/dist/components/ui/Card/index.d.ts +1 -0
  30. package/dist/components/ui/Dialog/Dialog.d.ts +30 -0
  31. package/dist/components/ui/Dialog/index.d.ts +2 -0
  32. package/dist/components/ui/{ErrorMessage.d.ts → ErrorMessage/ErrorMessage.d.ts} +1 -3
  33. package/dist/components/ui/ErrorMessage/index.d.ts +1 -0
  34. package/dist/components/ui/{input.d.ts → Input/Input.d.ts} +1 -0
  35. package/dist/components/ui/Input/index.d.ts +1 -0
  36. package/dist/components/ui/{label.d.ts → Label/Label.d.ts} +2 -1
  37. package/dist/components/ui/Label/index.d.ts +2 -0
  38. package/dist/components/ui/{pagination.d.ts → Pagination/Pagination.d.ts} +3 -2
  39. package/dist/components/ui/Pagination/index.d.ts +1 -0
  40. package/dist/components/ui/Popover/Popover.d.ts +18 -0
  41. package/dist/components/ui/Popover/index.d.ts +2 -0
  42. package/dist/components/ui/Progress/Progress.d.ts +8 -0
  43. package/dist/components/ui/Progress/index.d.ts +2 -0
  44. package/dist/components/ui/Select/Select.d.ts +38 -0
  45. package/dist/components/ui/Select/index.d.ts +2 -0
  46. package/dist/components/ui/Tabs/Tabs.d.ts +19 -0
  47. package/dist/components/ui/Tabs/index.d.ts +2 -0
  48. package/dist/components/ui/{textarea.d.ts → Textarea/Textarea.d.ts} +1 -0
  49. package/dist/components/ui/Textarea/index.d.ts +1 -0
  50. package/dist/lib/utils.d.ts +5 -2
  51. package/dist/surveyRender.js +1795 -6347
  52. package/dist/surveyRender.js.map +1 -1
  53. package/dist/surveyRender.umd.cjs +11 -85
  54. package/dist/surveyRender.umd.cjs.map +1 -1
  55. package/dist/utils/themeStatusStyles.d.ts +1 -1
  56. package/package.json +2 -17
  57. package/dist/components/SurveyProgressBar.d.ts +0 -25
  58. package/dist/components/ui/badge.d.ts +0 -9
  59. package/dist/components/ui/button-variants.d.ts +0 -4
  60. package/dist/components/ui/dialog.d.ts +0 -17
  61. package/dist/components/ui/popover.d.ts +0 -7
  62. package/dist/components/ui/progress.d.ts +0 -4
  63. package/dist/components/ui/select.d.ts +0 -15
  64. package/dist/components/ui/tabs.d.ts +0 -7
@@ -1,12 +1,9 @@
1
+ import "./QuestionListCarousel.css";
1
2
  export type QuestionStatus = "completed" | "unanswered" | "required" | "error";
2
3
  export interface QuestionListCarouselProps {
3
- /** Ordered list of visible question IDs (e.g. Q1, Q2, Q6.1) */
4
4
  questions: string[];
5
- /** Currently active question ID (controlled by parent) */
6
5
  activeQuestionId: string | undefined;
7
- /** Called when user selects a question (click card or arrow) */
8
6
  onQuestionSelect: (questionId: string) => void;
9
- /** Optional map of questionId -> status for styling */
10
7
  questionStatusMap?: Record<string, QuestionStatus>;
11
8
  className?: string;
12
9
  }
@@ -0,0 +1,2 @@
1
+ export { QuestionListCarousel } from "./QuestionListCarousel";
2
+ export type { QuestionListCarouselProps, QuestionStatus } from "./QuestionListCarousel";
@@ -1,4 +1,5 @@
1
- import type { SurveyQuestion } from "../types/survey.types";
1
+ import type { SurveyQuestion } from "../../types/survey.types";
2
+ import "./QuestionOverviewPanel.css";
2
3
  export interface QuestionOverviewPanelProps {
3
4
  isOpen: boolean;
4
5
  onClose: () => void;
@@ -0,0 +1,2 @@
1
+ export { QuestionOverviewPanel } from "./QuestionOverviewPanel";
2
+ export type { QuestionOverviewPanelProps } from "./QuestionOverviewPanel";
@@ -1,3 +1,4 @@
1
+ import "./SubmissionLoadingOverlay.css";
1
2
  export interface SubmissionLoadingOverlayProps {
2
3
  show: boolean;
3
4
  }
@@ -0,0 +1,2 @@
1
+ export { SubmissionLoadingOverlay } from "./SubmissionLoadingOverlay";
2
+ export type { SubmissionLoadingOverlayProps } from "./SubmissionLoadingOverlay";
@@ -1,4 +1,5 @@
1
- import type { SurveyConfig, SurveySubmitPayload } from "../types/survey.types";
1
+ import type { SurveyConfig, SurveySubmitPayload } from "../../types/survey.types";
2
+ import "./SurveyContainer.css";
2
3
  export interface SurveyProgressBarConfig {
3
4
  /** "position" = progress by step index. "completion" = by answered mandatory (FMB logic). Default: "completion" */
4
5
  progressMode?: "position" | "completion";
@@ -0,0 +1,2 @@
1
+ export { SurveyContainer } from "./SurveyContainer";
2
+ export type { SurveyContainerProps, SurveyProgressBarConfig } from "./SurveyContainer";
@@ -0,0 +1,16 @@
1
+ import "./SurveyProgressBar.css";
2
+ export type ProgressMode = "position" | "completion";
3
+ export type ProgressBarVariant = "default" | "gradient";
4
+ export interface SurveyProgressBarProps {
5
+ currentIndex: number;
6
+ totalSteps: number;
7
+ progressMode?: ProgressMode;
8
+ progressValue?: number;
9
+ showLabel?: boolean;
10
+ showPercentage?: boolean;
11
+ labelFormat?: string;
12
+ progressMaxWidth?: string;
13
+ variant?: ProgressBarVariant;
14
+ className?: string;
15
+ }
16
+ export declare function SurveyProgressBar({ currentIndex, totalSteps, progressMode, progressValue, showLabel, showPercentage, labelFormat, progressMaxWidth, variant, className, }: SurveyProgressBarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { SurveyProgressBar } from "./SurveyProgressBar";
2
+ export type { SurveyProgressBarProps, ProgressMode, ProgressBarVariant } from "./SurveyProgressBar";
@@ -1,3 +1,4 @@
1
+ import "./DatePicker.css";
1
2
  export interface DatePickerProps {
2
3
  selectedDate?: Date;
3
4
  onDateSelect: (date: Date | undefined) => void;
@@ -0,0 +1,2 @@
1
+ export { default } from "./DatePicker";
2
+ export type { DatePickerProps } from "./DatePicker";
@@ -1,3 +1,4 @@
1
+ import "./Dropdown.css";
1
2
  export interface DropdownOption {
2
3
  value: string;
3
4
  label: string;
@@ -0,0 +1,2 @@
1
+ export { default } from "./Dropdown";
2
+ export type { DropdownProps, DropdownOption } from "./Dropdown";
@@ -1,3 +1,4 @@
1
+ import "./MCQSelect.css";
1
2
  export interface MCQOption {
2
3
  id: string;
3
4
  text: string;
@@ -0,0 +1,2 @@
1
+ export { default } from "./MCQSelect";
2
+ export type { MCQSelectProps, MCQOption } from "./MCQSelect";
@@ -1,3 +1,4 @@
1
+ import "./TabularInput.css";
1
2
  export interface TabularInputOption {
2
3
  id: string;
3
4
  text: string;
@@ -0,0 +1,2 @@
1
+ export { default } from "./TabularInput";
2
+ export type { TabularInputOption, TabularInputRow, TabularInputColumn, TabularInputValue, TabularInputConfig, TabularInputProps, } from "./TabularInput";
@@ -1,3 +1,4 @@
1
+ import "./TextResponse.css";
1
2
  export interface TextResponseProps {
2
3
  value?: string;
3
4
  onChange: (value: string) => void;
@@ -0,0 +1,2 @@
1
+ export { default } from "./TextResponse";
2
+ export type { TextResponseProps } from "./TextResponse";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Inline SVG icons (replaces lucide-react).
3
+ */
4
+ export declare function IconX(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
5
+ export declare function IconChevronDown(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function IconChevronUp(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function IconCheck(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function IconChevronLeft(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function IconChevronRight(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
10
+ export declare function IconMoreHorizontal(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,15 @@
1
1
  import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const alertVariants: (props?: ({
4
- variant?: "default" | "destructive" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
2
+ import "./Alert.css";
3
+ type AlertVariant = "default" | "destructive";
4
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & {
5
+ variant?: AlertVariant;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
7
  declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare namespace AlertTitle {
9
+ var displayName: string;
10
+ }
8
11
  declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare namespace AlertDescription {
13
+ var displayName: string;
14
+ }
9
15
  export { Alert, AlertTitle, AlertDescription };
@@ -0,0 +1 @@
1
+ export { Alert, AlertTitle, AlertDescription } from "./Alert";
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ import "./Badge.css";
3
+ type BadgeVariant = "default" | "secondary" | "destructive" | "outline";
4
+ declare const variantClass: Record<BadgeVariant, string>;
5
+ declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & {
6
+ variant?: BadgeVariant;
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, variantClass as badgeVariants };
@@ -0,0 +1 @@
1
+ export { Badge, badgeVariants } from "./Badge";
@@ -1,7 +1,10 @@
1
1
  import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- import { buttonVariants } from "./button-variants";
4
- interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
2
+ import "./Button.css";
3
+ type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
4
+ type ButtonSize = "default" | "sm" | "lg" | "icon";
5
+ export interface ButtonProps extends React.ComponentProps<"button"> {
6
+ variant?: ButtonVariant;
7
+ size?: ButtonSize;
5
8
  asChild?: boolean;
6
9
  bgColor?: string;
7
10
  textColor?: string;
@@ -0,0 +1,2 @@
1
+ export { Button } from "./Button";
2
+ export type { ButtonProps } from "./Button";
@@ -1,9 +1,12 @@
1
1
  import * as React from "react";
2
+ import "./Card.css";
2
3
  declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
4
  declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
5
  declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
6
  declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
7
  declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
8
  declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div"> & {
10
+ "data-border"?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
9
12
  export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -0,0 +1 @@
1
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, } from "./Card";
@@ -0,0 +1,30 @@
1
+ import * as React from "react";
2
+ import "./Dialog.css";
3
+ export interface DialogProps {
4
+ open?: boolean;
5
+ onOpenChange?: (open: boolean) => void;
6
+ defaultOpen?: boolean;
7
+ children: React.ReactNode;
8
+ }
9
+ declare function Dialog({ open: controlledOpen, onOpenChange, defaultOpen, children, }: DialogProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function DialogTrigger({ children, asChild, ...props }: React.ComponentProps<"button"> & {
11
+ asChild?: boolean;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ declare function DialogPortal({ children, container, }: {
14
+ children: React.ReactNode;
15
+ container?: HTMLElement | null;
16
+ }): React.ReactPortal | null;
17
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element | null;
18
+ declare function DialogClose({ className, children, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
19
+ export interface DialogContentProps extends React.ComponentProps<"div"> {
20
+ showCloseButton?: boolean;
21
+ container?: HTMLElement | null;
22
+ }
23
+ declare function DialogContent({ className, children, showCloseButton, container, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element | null;
24
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
25
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
26
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<"div"> & {
27
+ id?: string;
28
+ }): import("react/jsx-runtime").JSX.Element;
29
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
30
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,2 @@
1
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./Dialog";
2
+ export type { DialogProps, DialogContentProps } from "./Dialog";
@@ -1,6 +1,4 @@
1
- /**
2
- * Reusable inline error message for validation feedback.
3
- */
1
+ import "./ErrorMessage.css";
4
2
  interface ErrorMessageProps {
5
3
  error?: string;
6
4
  className?: string;
@@ -0,0 +1 @@
1
+ export { ErrorMessage } from "./ErrorMessage";
@@ -1,3 +1,4 @@
1
1
  import * as React from "react";
2
+ import "./Input.css";
2
3
  declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
4
  export { Input };
@@ -0,0 +1 @@
1
+ export { Input } from "./Input";
@@ -1,4 +1,5 @@
1
- import React from "react";
1
+ import * as React from "react";
2
+ import "./Label.css";
2
3
  export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
3
4
  className?: string;
4
5
  }
@@ -0,0 +1,2 @@
1
+ export { Label } from "./Label";
2
+ export type { LabelProps } from "./Label";
@@ -1,12 +1,13 @@
1
1
  import * as React from "react";
2
+ import "./Pagination.css";
2
3
  declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
4
  declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
4
- declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
+ declare function PaginationItem(props: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
6
  type PaginationLinkProps = {
6
7
  isActive?: boolean;
7
8
  size?: "default" | "sm" | "lg" | "icon";
8
9
  } & React.ComponentProps<"a">;
9
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function PaginationLink({ className, isActive, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
10
11
  declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
11
12
  declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
12
13
  declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, } from "./Pagination";
@@ -0,0 +1,18 @@
1
+ import * as React from "react";
2
+ import "./Popover.css";
3
+ export interface PopoverProps {
4
+ open?: boolean;
5
+ onOpenChange?: (open: boolean) => void;
6
+ children: React.ReactNode;
7
+ }
8
+ declare function Popover({ open: openProp, onOpenChange, children, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function PopoverTrigger({ asChild, children, ...props }: React.ComponentProps<"button"> & {
10
+ asChild?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ export interface PopoverContentProps extends React.ComponentProps<"div"> {
13
+ align?: "start" | "center" | "end";
14
+ sideOffset?: number;
15
+ }
16
+ declare function PopoverContent({ className, align, sideOffset, ...props }: PopoverContentProps): React.ReactPortal | null;
17
+ declare function PopoverAnchor(props: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
18
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -0,0 +1,2 @@
1
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from "./Popover";
2
+ export type { PopoverProps, PopoverContentProps } from "./Popover";
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import "./Progress.css";
3
+ export interface ProgressProps extends React.ComponentProps<"div"> {
4
+ value?: number | null;
5
+ max?: number;
6
+ }
7
+ declare function Progress({ className, value, max, ...props }: ProgressProps): import("react/jsx-runtime").JSX.Element;
8
+ export { Progress };
@@ -0,0 +1,2 @@
1
+ export { Progress } from "./Progress";
2
+ export type { ProgressProps } from "./Progress";
@@ -0,0 +1,38 @@
1
+ import * as React from "react";
2
+ import "./Select.css";
3
+ export interface SelectProps {
4
+ value?: string;
5
+ onValueChange?: (value: string) => void;
6
+ defaultValue?: string;
7
+ open?: boolean;
8
+ onOpenChange?: (open: boolean) => void;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ name?: string;
12
+ dir?: "ltr" | "rtl";
13
+ children: React.ReactNode;
14
+ }
15
+ declare function Select({ value: valueProp, onValueChange, defaultValue, open: openProp, onOpenChange, disabled, children, }: SelectProps): import("react/jsx-runtime").JSX.Element;
16
+ declare function SelectGroup({ children, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ declare function SelectValue({ placeholder, children, }: {
18
+ placeholder?: string;
19
+ children?: React.ReactNode;
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ export interface SelectTriggerProps extends React.ComponentProps<"button"> {
22
+ size?: "sm" | "default";
23
+ }
24
+ declare function SelectTrigger({ className, size, children, ...props }: SelectTriggerProps): import("react/jsx-runtime").JSX.Element;
25
+ declare function SelectContent({ className, position, children, ...props }: React.ComponentProps<"div"> & {
26
+ position?: "popper" | "item-aligned";
27
+ }): import("react/jsx-runtime").JSX.Element | null;
28
+ declare function SelectViewport({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
29
+ declare function SelectLabel({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
30
+ export interface SelectItemProps extends React.ComponentProps<"div"> {
31
+ value: string;
32
+ disabled?: boolean;
33
+ }
34
+ declare function SelectItem({ className, children, value, disabled, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
35
+ declare function SelectSeparator({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
36
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
37
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
38
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectViewport, };
@@ -0,0 +1,2 @@
1
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectViewport, } from "./Select";
2
+ export type { SelectProps, SelectTriggerProps, SelectItemProps } from "./Select";
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import "./Tabs.css";
3
+ export interface TabsProps extends React.ComponentProps<"div"> {
4
+ value?: string;
5
+ onValueChange?: (value: string) => void;
6
+ defaultValue?: string;
7
+ children: React.ReactNode;
8
+ }
9
+ declare function Tabs({ className, value: valueProp, onValueChange, defaultValue, children, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function TabsList({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export interface TabsTriggerProps extends React.ComponentProps<"button"> {
12
+ value: string;
13
+ }
14
+ declare function TabsTrigger({ className, value, children, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
15
+ export interface TabsContentProps extends React.ComponentProps<"div"> {
16
+ value: string;
17
+ }
18
+ declare function TabsContent({ className, value, children, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element | null;
19
+ export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -0,0 +1,2 @@
1
+ export { Tabs, TabsList, TabsTrigger, TabsContent } from "./Tabs";
2
+ export type { TabsProps, TabsTriggerProps, TabsContentProps } from "./Tabs";
@@ -1,3 +1,4 @@
1
1
  import * as React from "react";
2
+ import "./Textarea.css";
2
3
  declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
3
4
  export { Textarea };
@@ -0,0 +1 @@
1
+ export { Textarea } from "./Textarea";
@@ -1,2 +1,5 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
1
+ /**
2
+ * Simple class name merger. Replaces clsx + tailwind-merge.
3
+ * Accepts strings and undefined; duplicates are not deduped.
4
+ */
5
+ export declare function cn(...inputs: (string | undefined | null | false)[]): string;