Merged in fix/3697-prettier-configs (pull request #3396)

fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Rasmus Langvad
2026-01-07 12:45:50 +00:00
parent 932413412b
commit d0546926a9
500 changed files with 18367 additions and 18419 deletions

View File

@@ -1,25 +1,25 @@
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
import { Progress } from './index'
import { Progress } from "./index"
const meta: Meta<typeof Progress> = {
title: 'Core Components/Progress',
title: "Core Components/Progress",
component: Progress,
parameters: {
backgrounds: { disable: true },
},
argTypes: {
value: {
control: { type: 'range', min: 0, max: 100, step: 1 },
description: 'The current progress value (0-100)',
control: { type: "range", min: 0, max: 100, step: 1 },
description: "The current progress value (0-100)",
},
'aria-label': {
control: 'text',
description: 'Accessible label for the progress bar',
"aria-label": {
control: "text",
description: "Accessible label for the progress bar",
},
},
args: {
'aria-label': 'Loading progress',
"aria-label": "Loading progress",
},
}

View File

@@ -1,13 +1,13 @@
import { ProgressBar } from 'react-aria-components'
import { cx } from 'class-variance-authority'
import styles from './progress.module.css'
import { ProgressProps } from './types'
import { ProgressBar } from "react-aria-components"
import { cx } from "class-variance-authority"
import styles from "./progress.module.css"
import { ProgressProps } from "./types"
export function Progress({
value,
minValue = 0,
maxValue = 100,
'aria-label': ariaLabel,
"aria-label": ariaLabel,
className,
}: ProgressProps) {
return (

View File

@@ -2,6 +2,6 @@ export interface ProgressProps {
value: number
minValue?: number
maxValue?: number
'aria-label'?: string
"aria-label"?: string
className?: string
}

View File

@@ -1,6 +1,6 @@
import { cva } from 'class-variance-authority'
import { cva } from "class-variance-authority"
import styles from './progress.module.css'
import styles from "./progress.module.css"
export const config = {
variants: {},