From 2ea247c1883c7dd87a280dbf7a6485c9003d7741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Schl=C3=A4fli?= Date: Wed, 7 Aug 2024 12:01:55 +0200 Subject: [PATCH] run prettier --- packages/design-system/src/Navigation.tsx | 2 +- packages/design-system/src/Select.tsx | 2 +- packages/design-system/src/Table.tsx | 2 +- packages/design-system/src/index.ts | 40 +++++++++++------------ packages/design-system/src/lib/utils.ts | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/design-system/src/Navigation.tsx b/packages/design-system/src/Navigation.tsx index ff2d914..9d53965 100644 --- a/packages/design-system/src/Navigation.tsx +++ b/packages/design-system/src/Navigation.tsx @@ -65,7 +65,7 @@ export function Navigation({ { * @returns Table component */ export function Table< - RowType extends Record + RowType extends Record, >({ id, dataAttributes, diff --git a/packages/design-system/src/index.ts b/packages/design-system/src/index.ts index 0a24940..2f98024 100644 --- a/packages/design-system/src/index.ts +++ b/packages/design-system/src/index.ts @@ -9,6 +9,23 @@ 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' @@ -16,8 +33,8 @@ 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' @@ -25,27 +42,10 @@ 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' diff --git a/packages/design-system/src/lib/utils.ts b/packages/design-system/src/lib/utils.ts index d32b0fe..fed2fe9 100644 --- a/packages/design-system/src/lib/utils.ts +++ b/packages/design-system/src/lib/utils.ts @@ -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[]) {