Skip to content

Commit 848e3be

Browse files
committed
fix: format
1 parent 274c693 commit 848e3be

File tree

28 files changed

+76
-25
lines changed

28 files changed

+76
-25
lines changed

packages/ui/src/components/Expandable/AnimatedExpandable.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { cn } from '@ultraviolet/utils'
22
import { assignInlineVars } from '@vanilla-extract/dynamic'
33
import { useEffect, useRef, useState } from 'react'
4+
45
import { ANIMATION_DURATION } from './constant'
56
import { animationDurationVar, expandableStyle } from './styles.css'
7+
68
import type { ExpandableProps } from './types'
79

810
export const AnimatedExpandable = ({

packages/ui/src/components/Label/LabelContent.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { cn } from '@ultraviolet/utils'
22
import { useMemo } from 'react'
3+
34
import { Stack } from '../Stack'
45
import { Text } from '../Text'
6+
57
import { labelStyle } from './styles.css'
8+
69
import type { LabelProps } from './type'
710

811
export const LabelRequiredOrNot = ({

packages/ui/src/components/Label/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ComponentProps, CSSProperties, ReactNode } from 'react'
21
import type { Text } from '../Text'
2+
import type { ComponentProps, CSSProperties, ReactNode } from 'react'
33

44
export type LabelProps = {
55
/**

packages/ui/src/components/LineChart/LegendCell.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
import type { DatumValue } from '@nivo/core'
21
import { cn } from '@ultraviolet/utils'
3-
import type { ComponentProps } from 'react'
2+
43
import { Text } from '../Text'
4+
55
import { lineChartStyle } from './styles.css'
66

7+
import type { DatumValue } from '@nivo/core'
8+
import type { ComponentProps } from 'react'
9+
710
type CellProps = {
811
value?: DatumValue
912
variant: ComponentProps<typeof Text>['variant']

packages/ui/src/components/List/SortIcon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { SortIcon as SortIconUV } from '@ultraviolet/icons/SortIcon'
22
import { SouthShortIcon } from '@ultraviolet/icons/SouthShortIcon'
3+
34
import { listStyle } from './styles.css'
45

56
export const SortIcon = ({ order }: { order?: 'ascending' | 'descending' }) =>

packages/ui/src/components/List/TableContainer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
'use client'
22

3-
import type { ReactNode } from 'react'
43
import { Children, useEffect, useState } from 'react'
4+
55
import { useListContext } from './ListContext'
66
import { listStyle } from './styles.css'
77

8+
import type { ReactNode } from 'react'
9+
810
export const TableContainer = ({ children }: { children: ReactNode }) => {
911
const [childrenMemory, setChildrenMemory] = useState<ReactNode[]>(
1012
Children.toArray(children),

packages/ui/src/components/NumberInput/components/Controls.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import { MinusIcon } from '@ultraviolet/icons/MinusIcon'
22
import { PlusIcon } from '@ultraviolet/icons/PlusIcon'
3-
import type { RefObject } from 'react'
43
import { useCallback } from 'react'
4+
55
import { Button } from '../../Button'
66
import { Stack } from '../../Stack'
7-
import type { SIZES } from '../constant'
87
import { numberInputStyle } from '../styles.css'
98

9+
import type { SIZES } from '../constant'
10+
import type { RefObject } from 'react'
11+
1012
export const Controls = ({
1113
controls,
1214
direction,

packages/ui/src/components/Pagination/PaginationButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { Button } from '../Button'
44
import { Text } from '../Text'
5+
56
import { paginationStyle } from './styles.css'
67

78
type MakeButtonProps = {

packages/ui/src/components/RadioGroup/Context.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import type { InputHTMLAttributes } from 'react'
21
import { createContext } from 'react'
32

3+
import type { InputHTMLAttributes } from 'react'
4+
45
type RadioGroupContextType = {
56
groupName?: string
67
groupValue: string | number

packages/ui/src/components/RadioGroup/SingleRadio.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
'use client'
22

3-
import type { ComponentProps } from 'react'
43
import { useContext } from 'react'
4+
55
import { Radio } from '../Radio'
6+
67
import { RadioGroupContext } from './Context'
78

9+
import type { ComponentProps } from 'react'
10+
811
type RadioGroupRadioProps = Omit<
912
ComponentProps<typeof Radio>,
1013
'onChange' | 'checked' | 'required' | 'name'

0 commit comments

Comments
 (0)