Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/ActionDropdown/ActionDropdown.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { render, screen } from '@testing-library/react';
import { describe, expect, it, vi } from 'vitest';

Expand Down
2 changes: 2 additions & 0 deletions src/components/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
import { CheckIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/DataTable/DataTableHead.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { ACTIONS_COLUMN_ID } from './constants.ts';
import { useDataTableHandle } from './hooks.ts';
import { flexRender } from './utils.tsx';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DataTable/store.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import {
createTable,
getCoreRowModel,
Expand Down
2 changes: 2 additions & 0 deletions src/components/DataTable/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import type {
ColumnDef,
ColumnPinningState,
Expand Down
2 changes: 2 additions & 0 deletions src/components/DatePicker/Calendar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { range } from 'lodash-es';
import { AnimatePresence, motion } from 'motion/react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownButton/DropdownButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { ChevronDownIcon } from 'lucide-react';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuCheckboxItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
import { CheckIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuLabel.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuRadioItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
import { CheckIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuSeparator.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuSubContent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/DropdownMenu/DropdownMenuSubTrigger.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
import { ChevronRightIcon } from 'lucide-react';

Expand Down
1 change: 1 addition & 0 deletions src/components/Form/Form.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable perfectionist/sort-objects */

import type React from 'react';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';

import { filterObject, sleep } from '@douglasneuroinformatics/libjs';
Expand Down
1 change: 1 addition & 0 deletions src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type React from 'react';
import { Fragment, useEffect, useState } from 'react';

import type { ZodErrorLike, ZodTypeLike } from '@douglasneuroinformatics/libjs';
Expand Down
1 change: 1 addition & 0 deletions src/components/Form/NumberField/NumberFieldInput.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type React from 'react';
import { useEffect, useId, useRef, useState } from 'react';

import { parseNumber } from '@douglasneuroinformatics/libjs';
Expand Down
2 changes: 2 additions & 0 deletions src/components/HoverCard/HoverCardContent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Content } from '@radix-ui/react-hover-card';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Label/Label.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as LabelPrimitive from '@radix-ui/react-label';
import { cva } from 'class-variance-authority';
import type { VariantProps } from 'class-variance-authority';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { render, screen } from '@testing-library/react';
import { describe, expect, it } from 'vitest';

Expand Down
2 changes: 2 additions & 0 deletions src/components/RadioGroup/RadioGroupItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Indicator, Item } from '@radix-ui/react-radio-group';
import { CircleIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/ScrollArea/ScrollArea.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Corner, Root, Scrollbar, Thumb, Viewport } from '@radix-ui/react-scroll-area';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectContent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectItem.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';
import { CheckIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectLabel.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectScrollDownButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';
import { ChevronDownIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectScrollUpButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';
import { ChevronUpIcon } from 'lucide-react';

Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectSeparator.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Select/SelectTrigger.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SelectPrimitive from '@radix-ui/react-select';

import { DropdownButton } from '../DropdownButton/DropdownButton.tsx';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Separator/Separator.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as SeparatorPrimitive from '@radix-ui/react-separator';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Sheet/SheetDescription.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Description } from '@radix-ui/react-dialog';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Sheet/SheetOverlay.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Overlay } from '@radix-ui/react-dialog';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Sheet/SheetTitle.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Title } from '@radix-ui/react-dialog';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Slider/Slider.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Range, Root, Thumb, Track } from '@radix-ui/react-slider';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableBody.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableBody = ({ className, ref, ...props }: React.ComponentProps<'tbody'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableCaption.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableCaption = ({ className, ref, ...props }: React.ComponentProps<'caption'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableCell.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableCell = ({ className, ref, ...props }: React.ComponentProps<'td'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableFooter = ({ className, ref, ...props }: React.ComponentProps<'tfoot'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableHead.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableHead = ({ className, ref, ...props }: React.ComponentProps<'th'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableHeader = ({ className, ref, ...props }: React.ComponentProps<'thead'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableRoot.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableRoot = ({ className, ref, ...props }: React.ComponentProps<'table'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Table/TableRow.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { cn } from '#utils';

export const TableRow = ({ className, ref, ...props }: React.ComponentProps<'tr'>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tabs/TabsContent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as TabsPrimitive from '@radix-ui/react-tabs';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tabs/TabsList.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as TabsPrimitive from '@radix-ui/react-tabs';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tabs/TabsRoot.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Root } from '@radix-ui/react-tabs';

export const TabsRoot = ({ ref, ...props }: React.ComponentProps<typeof Root>) => {
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tabs/TabsTrigger.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import * as TabsPrimitive from '@radix-ui/react-tabs';

import { cn } from '#utils';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Tooltip/TooltipTrigger.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { Trigger } from '@radix-ui/react-tooltip';

import { Button } from '../Button/Button.tsx';
Expand Down
1 change: 1 addition & 0 deletions src/providers/CoreProvider/CoreProvider.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type React from 'react';
import { useState } from 'react';

import type { Meta, StoryObj } from '@storybook/react-vite';
Expand Down
2 changes: 2 additions & 0 deletions src/providers/CoreProvider/CoreProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type React from 'react';

import { DestructiveActionDialog } from './DestructiveActionDialog.tsx';
import { NotificationHub } from './NotificationHub.tsx';

Expand Down
Loading