@open-elements/ui 0.1.0 → 0.2.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 (94) hide show
  1. package/dist/components/alert-dialog.d.ts +1 -1
  2. package/dist/components/alert-dialog.d.ts.map +1 -1
  3. package/dist/components/alert-dialog.js +2 -2
  4. package/dist/components/alert-dialog.js.map +1 -1
  5. package/dist/components/badge.js +1 -1
  6. package/dist/components/badge.js.map +1 -1
  7. package/dist/components/button.js +1 -1
  8. package/dist/components/button.js.map +1 -1
  9. package/dist/components/calendar.d.ts +1 -1
  10. package/dist/components/calendar.d.ts.map +1 -1
  11. package/dist/components/calendar.js +2 -2
  12. package/dist/components/calendar.js.map +1 -1
  13. package/dist/components/card.js +1 -1
  14. package/dist/components/card.js.map +1 -1
  15. package/dist/components/combobox.js +3 -3
  16. package/dist/components/combobox.js.map +1 -1
  17. package/dist/components/dialog.js +2 -2
  18. package/dist/components/dialog.js.map +1 -1
  19. package/dist/components/health-status.js +1 -1
  20. package/dist/components/health-status.js.map +1 -1
  21. package/dist/components/input-group.d.ts +1 -1
  22. package/dist/components/input-group.d.ts.map +1 -1
  23. package/dist/components/input-group.js +4 -4
  24. package/dist/components/input-group.js.map +1 -1
  25. package/dist/components/input.js +1 -1
  26. package/dist/components/input.js.map +1 -1
  27. package/dist/components/label.js +1 -1
  28. package/dist/components/label.js.map +1 -1
  29. package/dist/components/language-switch.js +2 -2
  30. package/dist/components/language-switch.js.map +1 -1
  31. package/dist/components/popover.js +1 -1
  32. package/dist/components/popover.js.map +1 -1
  33. package/dist/components/select.js +1 -1
  34. package/dist/components/select.js.map +1 -1
  35. package/dist/components/separator.js +1 -1
  36. package/dist/components/separator.js.map +1 -1
  37. package/dist/components/sheet.js +1 -1
  38. package/dist/components/sheet.js.map +1 -1
  39. package/dist/components/sidebar.js +5 -5
  40. package/dist/components/sidebar.js.map +1 -1
  41. package/dist/components/skeleton.js +1 -1
  42. package/dist/components/skeleton.js.map +1 -1
  43. package/dist/components/table.js +1 -1
  44. package/dist/components/table.js.map +1 -1
  45. package/dist/components/tag-chips.d.ts +1 -1
  46. package/dist/components/tag-chips.d.ts.map +1 -1
  47. package/dist/components/tag-form.d.ts +1 -1
  48. package/dist/components/tag-form.d.ts.map +1 -1
  49. package/dist/components/tag-form.js +6 -6
  50. package/dist/components/tag-form.js.map +1 -1
  51. package/dist/components/tag-multi-select.d.ts +1 -1
  52. package/dist/components/tag-multi-select.d.ts.map +1 -1
  53. package/dist/components/tag-multi-select.js +1 -1
  54. package/dist/components/tag-multi-select.js.map +1 -1
  55. package/dist/components/textarea.js +1 -1
  56. package/dist/components/textarea.js.map +1 -1
  57. package/dist/components/tooltip.js +1 -1
  58. package/dist/components/tooltip.js.map +1 -1
  59. package/dist/index.d.ts +35 -35
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +28 -28
  62. package/dist/index.js.map +1 -1
  63. package/dist/tsconfig.build.tsbuildinfo +1 -1
  64. package/package.json +2 -2
  65. package/src/components/__tests__/button.test.tsx +1 -1
  66. package/src/components/__tests__/input.test.tsx +1 -1
  67. package/src/components/__tests__/tag-multi-select.test.tsx +2 -2
  68. package/src/components/__tests__/textarea.test.tsx +1 -1
  69. package/src/components/alert-dialog.tsx +2 -2
  70. package/src/components/badge.tsx +1 -1
  71. package/src/components/button.tsx +1 -1
  72. package/src/components/calendar.tsx +2 -2
  73. package/src/components/card.tsx +1 -1
  74. package/src/components/combobox.tsx +3 -3
  75. package/src/components/dialog.tsx +2 -2
  76. package/src/components/health-status.tsx +1 -1
  77. package/src/components/input-group.tsx +4 -4
  78. package/src/components/input.tsx +1 -1
  79. package/src/components/label.tsx +1 -1
  80. package/src/components/language-switch.tsx +2 -2
  81. package/src/components/popover.tsx +1 -1
  82. package/src/components/select.tsx +1 -1
  83. package/src/components/separator.tsx +1 -1
  84. package/src/components/sheet.tsx +1 -1
  85. package/src/components/sidebar.tsx +5 -5
  86. package/src/components/skeleton.tsx +1 -1
  87. package/src/components/table.tsx +1 -1
  88. package/src/components/tag-chips.tsx +1 -1
  89. package/src/components/tag-form.tsx +7 -7
  90. package/src/components/tag-multi-select.tsx +2 -2
  91. package/src/components/textarea.tsx +1 -1
  92. package/src/components/tooltip.tsx +1 -1
  93. package/src/index.ts +35 -35
  94. package/src/lib/__tests__/utils.test.ts +1 -1
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@open-elements/ui",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Shared UI component library for Open Elements applications",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/open-elements/open-elements-ui.git"
8
+ "url": "https://github.com/OpenElements/open-elements-ui.git"
9
9
  },
10
10
  "type": "module",
11
11
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect } from "vitest";
2
2
  import { render, screen } from "@testing-library/react";
3
- import { Button } from "../button";
3
+ import { Button } from "../button.tsx";
4
4
 
5
5
  describe("Button", () => {
6
6
  it("renders with children", () => {
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect } from "vitest";
2
2
  import { render, screen } from "@testing-library/react";
3
- import { Input } from "../input";
3
+ import { Input } from "../input.tsx";
4
4
 
5
5
  describe("Input", () => {
6
6
  it("renders an input element", () => {
@@ -1,7 +1,7 @@
1
1
  import { describe, it, expect, vi } from "vitest";
2
2
  import { render, screen, waitFor } from "@testing-library/react";
3
- import { TagMultiSelect } from "../tag-multi-select";
4
- import type { TagOption, TagMultiSelectTranslations } from "../../types";
3
+ import { TagMultiSelect } from "../tag-multi-select.tsx";
4
+ import type { TagOption, TagMultiSelectTranslations } from "../../types/index.ts";
5
5
 
6
6
  const mockTranslations: TagMultiSelectTranslations = {
7
7
  placeholder: "Choose tags...",
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect } from "vitest";
2
2
  import { render, screen } from "@testing-library/react";
3
- import { Textarea } from "../textarea";
3
+ import { Textarea } from "../textarea.tsx";
4
4
 
5
5
  describe("Textarea", () => {
6
6
  it("renders a textarea element", () => {
@@ -3,8 +3,8 @@
3
3
  import * as React from "react";
4
4
  import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
5
5
 
6
- import { cn } from "../lib/utils";
7
- import { Button } from "./button";
6
+ import { cn } from "../lib/utils.ts";
7
+ import { Button } from "./button.tsx";
8
8
 
9
9
  function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {
10
10
  return <AlertDialogPrimitive.Root data-slot="alert-dialog" {...props} />;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { cva, type VariantProps } from "class-variance-authority";
3
3
  import { Slot } from "radix-ui";
4
4
 
5
- import { cn } from "../lib/utils";
5
+ import { cn } from "../lib/utils.ts";
6
6
 
7
7
  const badgeVariants = cva(
8
8
  "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { cva, type VariantProps } from "class-variance-authority";
3
3
  import { Slot } from "radix-ui";
4
4
 
5
- import { cn } from "../lib/utils";
5
+ import { cn } from "../lib/utils.ts";
6
6
 
7
7
  const buttonVariants = cva(
8
8
  "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
@@ -4,8 +4,8 @@ import * as React from "react";
4
4
  import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
5
5
  import { DayPicker, getDefaultClassNames, type DayButton } from "react-day-picker";
6
6
 
7
- import { cn } from "../lib/utils";
8
- import { Button, buttonVariants } from "./button";
7
+ import { cn } from "../lib/utils.ts";
8
+ import { Button, buttonVariants } from "./button.tsx";
9
9
 
10
10
  function Calendar({
11
11
  className,
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- import { cn } from "../lib/utils";
3
+ import { cn } from "../lib/utils.ts";
4
4
 
5
5
  function Card({ className, ...props }: React.ComponentProps<"div">) {
6
6
  return (
@@ -4,9 +4,9 @@ import * as React from "react";
4
4
  import { Combobox as ComboboxPrimitive } from "@base-ui/react";
5
5
  import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react";
6
6
 
7
- import { cn } from "../lib/utils";
8
- import { Button } from "./button";
9
- import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group";
7
+ import { cn } from "../lib/utils.ts";
8
+ import { Button } from "./button.tsx";
9
+ import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group.tsx";
10
10
 
11
11
  const Combobox = ComboboxPrimitive.Root;
12
12
 
@@ -4,8 +4,8 @@ import * as React from "react";
4
4
  import { XIcon } from "lucide-react";
5
5
  import { Dialog as DialogPrimitive } from "radix-ui";
6
6
 
7
- import { cn } from "../lib/utils";
8
- import { Button } from "./button";
7
+ import { cn } from "../lib/utils.ts";
8
+ import { Button } from "./button.tsx";
9
9
 
10
10
  function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {
11
11
  return <DialogPrimitive.Root data-slot="dialog" {...props} />;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { Card, CardContent, CardHeader, CardTitle } from "./card";
3
+ import { Card, CardContent, CardHeader, CardTitle } from "./card.tsx";
4
4
 
5
5
  interface HealthStatusTranslations {
6
6
  readonly title: string;
@@ -3,10 +3,10 @@
3
3
  import * as React from "react";
4
4
  import { cva, type VariantProps } from "class-variance-authority";
5
5
 
6
- import { cn } from "../lib/utils";
7
- import { Button } from "./button";
8
- import { Input } from "./input";
9
- import { Textarea } from "./textarea";
6
+ import { cn } from "../lib/utils.ts";
7
+ import { Button } from "./button.tsx";
8
+ import { Input } from "./input.tsx";
9
+ import { Textarea } from "./textarea.tsx";
10
10
 
11
11
  function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
12
12
  return (
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- import { cn } from "../lib/utils";
3
+ import { cn } from "../lib/utils.ts";
4
4
 
5
5
  function Input({ className, type, ...props }: React.ComponentProps<"input">) {
6
6
  return (
@@ -3,7 +3,7 @@
3
3
  import * as React from "react";
4
4
  import { Label as LabelPrimitive } from "radix-ui";
5
5
 
6
- import { cn } from "../lib/utils";
6
+ import { cn } from "../lib/utils.ts";
7
7
 
8
8
  function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) {
9
9
  return (
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
- import { cn } from "../lib/utils";
4
- import { useLanguage } from "../i18n/language-context";
3
+ import { cn } from "../lib/utils.ts";
4
+ import { useLanguage } from "../i18n/language-context.tsx";
5
5
 
6
6
  export function LanguageSwitch() {
7
7
  const { language, setLanguage } = useLanguage();
@@ -3,7 +3,7 @@
3
3
  import * as React from "react";
4
4
  import { Popover as PopoverPrimitive } from "radix-ui";
5
5
 
6
- import { cn } from "../lib/utils";
6
+ import { cn } from "../lib/utils.ts";
7
7
 
8
8
  function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {
9
9
  return <PopoverPrimitive.Root data-slot="popover" {...props} />;
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
5
5
  import { Select as SelectPrimitive } from "radix-ui";
6
6
 
7
- import { cn } from "../lib/utils";
7
+ import { cn } from "../lib/utils.ts";
8
8
 
9
9
  function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) {
10
10
  return <SelectPrimitive.Root data-slot="select" {...props} />;
@@ -3,7 +3,7 @@
3
3
  import * as React from "react";
4
4
  import { Separator as SeparatorPrimitive } from "radix-ui";
5
5
 
6
- import { cn } from "../lib/utils";
6
+ import { cn } from "../lib/utils.ts";
7
7
 
8
8
  function Separator({
9
9
  className,
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import { XIcon } from "lucide-react";
5
5
  import { Dialog as SheetPrimitive } from "radix-ui";
6
6
 
7
- import { cn } from "../lib/utils";
7
+ import { cn } from "../lib/utils.ts";
8
8
 
9
9
  function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
10
10
  return <SheetPrimitive.Root data-slot="sheet" {...props} />;
@@ -3,11 +3,11 @@
3
3
  import * as React from "react";
4
4
  import { useState } from "react";
5
5
  import { ChevronDown, CircleUser, LayoutDashboard, LogOut, Menu } from "lucide-react";
6
- import { cn } from "../lib/utils";
7
- import { Button } from "./button";
8
- import { Tooltip, TooltipTrigger, TooltipContent } from "./tooltip";
9
- import { Sheet, SheetContent, SheetTrigger, SheetTitle } from "./sheet";
10
- import { LanguageSwitch } from "./language-switch";
6
+ import { cn } from "../lib/utils.ts";
7
+ import { Button } from "./button.tsx";
8
+ import { Tooltip, TooltipTrigger, TooltipContent } from "./tooltip.tsx";
9
+ import { Sheet, SheetContent, SheetTrigger, SheetTitle } from "./sheet.tsx";
10
+ import { LanguageSwitch } from "./language-switch.tsx";
11
11
 
12
12
  // --- NavItem ---
13
13
 
@@ -1,4 +1,4 @@
1
- import { cn } from "../lib/utils";
1
+ import { cn } from "../lib/utils.ts";
2
2
 
3
3
  function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
4
4
  return (
@@ -2,7 +2,7 @@
2
2
 
3
3
  import * as React from "react";
4
4
 
5
- import { cn } from "../lib/utils";
5
+ import { cn } from "../lib/utils.ts";
6
6
 
7
7
  function Table({ className, ...props }: React.ComponentProps<"table">) {
8
8
  return (
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import type { TagDto } from "../types";
3
+ import type { TagDto } from "../types/index.ts";
4
4
 
5
5
  function getContrastColor(hex: string): string {
6
6
  const r = parseInt(hex.slice(1, 3), 16);
@@ -2,13 +2,13 @@
2
2
 
3
3
  import { useState } from "react";
4
4
  import { Check } from "lucide-react";
5
- import { cn } from "../lib/utils";
6
- import { Button } from "./button";
7
- import { Input } from "./input";
8
- import { Textarea } from "./textarea";
9
- import { Label } from "./label";
10
- import { Card, CardContent, CardHeader, CardTitle } from "./card";
11
- import type { TagDto } from "../types";
5
+ import { cn } from "../lib/utils.ts";
6
+ import { Button } from "./button.tsx";
7
+ import { Input } from "./input.tsx";
8
+ import { Textarea } from "./textarea.tsx";
9
+ import { Label } from "./label.tsx";
10
+ import { Card, CardContent, CardHeader, CardTitle } from "./card.tsx";
11
+ import type { TagDto } from "../types/index.ts";
12
12
 
13
13
  const PALETTE_COLORS = [
14
14
  "#EF4444",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  import { useEffect, useState } from "react";
4
- import type { TagOption, TagMultiSelectProps, TagMultiSelectTranslations } from "../types";
4
+ import type { TagOption, TagMultiSelectProps, TagMultiSelectTranslations } from "../types/index.ts";
5
5
  import {
6
6
  Combobox,
7
7
  ComboboxChips,
@@ -11,7 +11,7 @@ import {
11
11
  ComboboxItem,
12
12
  ComboboxList,
13
13
  useComboboxAnchor,
14
- } from "./combobox";
14
+ } from "./combobox.tsx";
15
15
 
16
16
  function isValidHex(color: string): boolean {
17
17
  return /^#[0-9A-Fa-f]{6}$/.test(color);
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- import { cn } from "../lib/utils";
3
+ import { cn } from "../lib/utils.ts";
4
4
 
5
5
  function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {
6
6
  return (
@@ -3,7 +3,7 @@
3
3
  import * as React from "react";
4
4
  import { Tooltip as TooltipPrimitive } from "radix-ui";
5
5
 
6
- import { cn } from "../lib/utils";
6
+ import { cn } from "../lib/utils.ts";
7
7
 
8
8
  const TooltipProvider = TooltipPrimitive.Provider;
9
9
 
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Components
2
- export { Button, buttonVariants } from "./components/button";
3
- export { Input } from "./components/input";
4
- export { Textarea } from "./components/textarea";
2
+ export { Button, buttonVariants } from "./components/button.tsx";
3
+ export { Input } from "./components/input.tsx";
4
+ export { Textarea } from "./components/textarea.tsx";
5
5
  export {
6
6
  InputGroup,
7
7
  InputGroupAddon,
@@ -9,7 +9,7 @@ export {
9
9
  InputGroupText,
10
10
  InputGroupInput,
11
11
  InputGroupTextarea,
12
- } from "./components/input-group";
12
+ } from "./components/input-group.tsx";
13
13
  export {
14
14
  Combobox,
15
15
  ComboboxInput,
@@ -27,13 +27,13 @@ export {
27
27
  ComboboxTrigger,
28
28
  ComboboxValue,
29
29
  useComboboxAnchor,
30
- } from "./components/combobox";
31
- export { TagMultiSelect } from "./components/tag-multi-select";
30
+ } from "./components/combobox.tsx";
31
+ export { TagMultiSelect } from "./components/tag-multi-select.tsx";
32
32
  export type {
33
33
  TagMultiSelectProps,
34
34
  TagMultiSelectTranslations,
35
35
  TagOption,
36
- } from "./components/tag-multi-select";
36
+ } from "./components/tag-multi-select.tsx";
37
37
 
38
38
  // shadcn/ui components
39
39
  export {
@@ -49,9 +49,9 @@ export {
49
49
  AlertDialogPortal,
50
50
  AlertDialogTitle,
51
51
  AlertDialogTrigger,
52
- } from "./components/alert-dialog";
53
- export { Badge, badgeVariants } from "./components/badge";
54
- export { Calendar, CalendarDayButton } from "./components/calendar";
52
+ } from "./components/alert-dialog.tsx";
53
+ export { Badge, badgeVariants } from "./components/badge.tsx";
54
+ export { Calendar, CalendarDayButton } from "./components/calendar.tsx";
55
55
  export {
56
56
  Card,
57
57
  CardHeader,
@@ -60,7 +60,7 @@ export {
60
60
  CardAction,
61
61
  CardDescription,
62
62
  CardContent,
63
- } from "./components/card";
63
+ } from "./components/card.tsx";
64
64
  export {
65
65
  Dialog,
66
66
  DialogClose,
@@ -72,8 +72,8 @@ export {
72
72
  DialogPortal,
73
73
  DialogTitle,
74
74
  DialogTrigger,
75
- } from "./components/dialog";
76
- export { Label } from "./components/label";
75
+ } from "./components/dialog.tsx";
76
+ export { Label } from "./components/label.tsx";
77
77
  export {
78
78
  Popover,
79
79
  PopoverTrigger,
@@ -82,7 +82,7 @@ export {
82
82
  PopoverHeader,
83
83
  PopoverTitle,
84
84
  PopoverDescription,
85
- } from "./components/popover";
85
+ } from "./components/popover.tsx";
86
86
  export {
87
87
  Select,
88
88
  SelectContent,
@@ -94,8 +94,8 @@ export {
94
94
  SelectSeparator,
95
95
  SelectTrigger,
96
96
  SelectValue,
97
- } from "./components/select";
98
- export { Separator } from "./components/separator";
97
+ } from "./components/select.tsx";
98
+ export { Separator } from "./components/separator.tsx";
99
99
  export {
100
100
  Sheet,
101
101
  SheetTrigger,
@@ -105,8 +105,8 @@ export {
105
105
  SheetFooter,
106
106
  SheetTitle,
107
107
  SheetDescription,
108
- } from "./components/sheet";
109
- export { Skeleton } from "./components/skeleton";
108
+ } from "./components/sheet.tsx";
109
+ export { Skeleton } from "./components/skeleton.tsx";
110
110
  export {
111
111
  Table,
112
112
  TableHeader,
@@ -116,24 +116,24 @@ export {
116
116
  TableRow,
117
117
  TableCell,
118
118
  TableCaption,
119
- } from "./components/table";
120
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from "./components/tooltip";
119
+ } from "./components/table.tsx";
120
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from "./components/tooltip.tsx";
121
121
 
122
122
  // App-level components
123
- export { LanguageSwitch } from "./components/language-switch";
124
- export { HealthStatus } from "./components/health-status";
125
- export type { HealthStatusProps, HealthStatusTranslations } from "./components/health-status";
126
- export { TagChips } from "./components/tag-chips";
127
- export type { TagChipsProps } from "./components/tag-chips";
128
- export { TagForm } from "./components/tag-form";
129
- export type { TagFormProps, TagFormTranslations } from "./components/tag-form";
123
+ export { LanguageSwitch } from "./components/language-switch.tsx";
124
+ export { HealthStatus } from "./components/health-status.tsx";
125
+ export type { HealthStatusProps, HealthStatusTranslations } from "./components/health-status.tsx";
126
+ export { TagChips } from "./components/tag-chips.tsx";
127
+ export type { TagChipsProps } from "./components/tag-chips.tsx";
128
+ export { TagForm } from "./components/tag-form.tsx";
129
+ export type { TagFormProps, TagFormTranslations } from "./components/tag-form.tsx";
130
130
  export {
131
131
  Sidebar,
132
132
  SidebarHeader,
133
133
  NavItem,
134
134
  CollapsibleGroup,
135
135
  UserSection,
136
- } from "./components/sidebar";
136
+ } from "./components/sidebar.tsx";
137
137
  export type {
138
138
  SidebarProps,
139
139
  SidebarHeaderProps,
@@ -141,16 +141,16 @@ export type {
141
141
  CollapsibleGroupProps,
142
142
  UserSectionProps,
143
143
  UserSectionTranslations,
144
- } from "./components/sidebar";
144
+ } from "./components/sidebar.tsx";
145
145
 
146
146
  // Types
147
- export type { TagDto } from "./types";
147
+ export type { TagDto } from "./types/index.ts";
148
148
 
149
149
  // Utilities
150
- export { cn } from "./lib/utils";
150
+ export { cn } from "./lib/utils.ts";
151
151
 
152
152
  // i18n
153
- export { LanguageProvider, useTranslations, useLanguage } from "./i18n/language-context";
154
- export type { Language } from "./i18n/language-context";
155
- export { de } from "./i18n/de";
156
- export { en } from "./i18n/en";
153
+ export { LanguageProvider, useTranslations, useLanguage } from "./i18n/language-context.tsx";
154
+ export type { Language } from "./i18n/language-context.tsx";
155
+ export { de } from "./i18n/de.ts";
156
+ export { en } from "./i18n/en.ts";
@@ -1,5 +1,5 @@
1
1
  import { describe, it, expect } from "vitest";
2
- import { cn } from "../utils";
2
+ import { cn } from "../utils.ts";
3
3
 
4
4
  describe("cn", () => {
5
5
  it("merges class names", () => {