Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Aug 7, 2024
1 parent c8af9c1 commit 2ea247c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function Navigation({
<NavigationMenuPrimitive.Viewport
className={twMerge(
'mt-2 overflow-hidden rounded-md bg-primary-20 shadow-lg duration-300 ease-in-out',
'absolute z-10 w-rdx-navigation-menu-viewport h-rdx-navigation-menu-viewport',
'w-rdx-navigation-menu-viewport h-rdx-navigation-menu-viewport absolute z-10',
className?.viewport
)}
style={style?.viewport}
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export function Select({
className={twMerge(
'rounded-md px-2 py-1',
!basic &&
'inline-flex h-7 items-center justify-between gap-2 border bg-white p-4 shadow-sm hover:bg-primary-20 hover:text-primary',
'inline-flex h-7 items-center justify-between gap-2 border bg-white p-4 shadow-sm hover:bg-primary-20 hover:text-primary',
disabled &&
'hover:bg-none, hover:text-none cursor-not-allowed bg-uzh-grey-20 opacity-70 shadow-sm',
size === 'sm' && '!text-sm',
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface TableProps<RowType extends BaseRowType> {
* @returns Table component
*/
export function Table<
RowType extends Record<string, string | number | boolean>
RowType extends Record<string, string | number | boolean>,
>({
id,
dataAttributes,
Expand Down
40 changes: 20 additions & 20 deletions packages/design-system/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,43 @@ export { default as CycleCountdown } from './CycleCountdown'
export { default as CycleProgress } from './CycleProgress'
export { default as DateChanger } from './DateChanger'
export { default as Dropdown } from './Dropdown'
export { default as Header } from './Header'
export { default as Modal } from './Modal'
export { default as Navigation } from './Navigation'
export { default as NotificationBadgeWrapper } from './NotificationBadgeWrapper'
export { default as Progress } from './Progress'
export { default as Prose } from './Prose'
export { default as Select } from './Select'
export { default as Slider } from './Slider'
export { default as StepProgress } from './StepProgress'
export { default as Switch } from './Switch'
export { default as Table } from './Table'
export { default as Tabs } from './Tabs'
export { default as Tag } from './Tag'
export { default as Toast } from './Toast'
export { default as Tooltip } from './Tooltip'
export { default as UserNotification } from './UserNotification'
export { default as Workflow } from './Workflow'
export { default as FormikColorPicker } from './forms/FormikColorPicker'
export { default as FormikDateChanger } from './forms/FormikDateChanger'
export { default as FormikDateField } from './forms/FormikDateField'
export { default as FormikNumberField } from './forms/FormikNumberField'
export { default as FormikPinField } from './forms/FormikPinField'
export { default as FormikSelectField } from './forms/FormikSelectField'
export { default as FormikSwitchField } from './forms/FormikSwitchField'
export { default as FormikTextareaField } from './forms/FormikTextareaField'
export { default as FormikTextField } from './forms/FormikTextField'
export { default as FormikTextareaField } from './forms/FormikTextareaField'
export { default as Label } from './forms/Label'
export { default as NewFormikDateChanger } from './forms/NewFormikDateChanger'
export { default as NewFormikDateField } from './forms/NewFormikDateField'
export { default as NewFromikNumberField } from './forms/NewFormikNumberField'
export { default as NewFormikPinField } from './forms/NewFormikPinField'
export { default as NewFormikSelectField } from './forms/NewFormikSelectField'
export { default as NewFormikSwitchField } from './forms/NewFormikSwitchField'
export { default as NewFormikTextareaField } from './forms/NewFormikTextareaField'
export { default as NewFormikTextField } from './forms/NewFormikTextField'
export { default as NewFormikTextareaField } from './forms/NewFormikTextareaField'
export { default as NumberField } from './forms/NumberField'
export { default as SelectField } from './forms/SelectField'
export { default as TextareaField } from './forms/TextareaField'
export { default as TextField } from './forms/TextField'
export { default as Header } from './Header'
export { default as TextareaField } from './forms/TextareaField'
export { useArrowNavigation } from './hooks/useArrowNavigation'
export { default as Modal } from './Modal'
export { default as Navigation } from './Navigation'
export { default as NotificationBadgeWrapper } from './NotificationBadgeWrapper'
export { default as Progress } from './Progress'
export { default as Prose } from './Prose'
export { default as Select } from './Select'
export { default as Slider } from './Slider'
export { default as StepProgress } from './StepProgress'
export { default as Switch } from './Switch'
export { default as Table } from './Table'
export { default as Tabs } from './Tabs'
export { default as Tag } from './Tag'
export { default as Toast } from './Toast'
export { default as Tooltip } from './Tooltip'
export { default as UserNotification } from './UserNotification'
export { default as Workflow } from './Workflow'
2 changes: 1 addition & 1 deletion packages/design-system/src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ClassValue, clsx } from 'clsx'
import { clsx, type ClassValue } from 'clsx'
import { twMerge } from 'tailwind-merge'

export function cn(...inputs: ClassValue[]) {
Expand Down

0 comments on commit 2ea247c

Please sign in to comment.