Skip to content

Commit

Permalink
fix(components): new key type breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsimao committed Nov 29, 2023
1 parent 6480e9e commit 4d0f071
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion .eslintcache

This file was deleted.

3 changes: 2 additions & 1 deletion packages/components/src/Accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Meta, StoryFn, StoryObj } from '@storybook/react';
import { Key, useState } from 'react';
import { useState } from 'react';
import { Key } from '@react-types/shared';

import { P } from '../Text';

Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { mergeProps, useId } from '@react-aria/utils';
import { VisuallyHidden } from '@react-aria/visually-hidden';
import { SelectProps as AriaSelectProps, useSelectState } from '@react-stately/select';
import { CollectionBase, Node } from '@react-types/shared';
import { ForwardedRef, forwardRef, Key, ReactNode, useRef } from 'react';
import { ForwardedRef, forwardRef, ReactNode, useRef } from 'react';
import { Sizes } from '@interlay/theme';
import { useDOMRef } from '@interlay/hooks';
import { Key } from '@react-types/shared';

import { Field, FieldProps, useFieldProps } from '../Field';
import { hasError } from '../utils/input';
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/Tabs/Tabs.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Meta, StoryFn, StoryObj } from '@storybook/react';
import { Key, useState } from 'react';
import { useState } from 'react';
import { Key } from '@react-types/shared';

import { P } from '../Text';

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useFocusRing } from '@react-aria/focus';
import { useTabList } from '@react-aria/tabs';
import { mergeProps } from '@react-aria/utils';
import { useTabListState } from '@react-stately/tabs';
import { CollectionChildren } from '@react-types/shared';
import { forwardRef, HTMLAttributes, Key, useEffect, useState } from 'react';
import { CollectionChildren, Key } from '@react-types/shared';
import { forwardRef, HTMLAttributes, useEffect, useState } from 'react';
import { AlignItems, Sizes } from '@interlay/theme';
import { useDOMRef } from '@interlay/hooks';

Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ export type { TooltipProps } from './Tooltip';
export { Tooltip } from './Tooltip';
export * from '@interlay/system';
export { CSSReset } from './CSSReset';
export type { RadioGroupProps, RadioProps } from './Radio';
export { RadioGroup, Radio } from './Radio';

0 comments on commit 4d0f071

Please sign in to comment.