Skip to content

Commit f76865f

Browse files
committed
fix: prettier fixes after dependency updates
1 parent 9c2e177 commit f76865f

File tree

28 files changed

+73
-58
lines changed

28 files changed

+73
-58
lines changed

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
minimumReleaseAge: 10080 # cooldown period for new packages in minutes (7 days)
22
minimumReleaseAgeExclude: # https://pnpm.io/settings#minimumreleaseageexclude
3-
- "preact@10.28.2"
3+
- 'preact@10.28.2'

src/core/components/accordion/accordionContainer/accordionContainer.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ export type AccordionMultiValue<TMulti extends boolean> = TMulti extends true
66
? string[] | undefined
77
: string | undefined;
88

9-
export interface IAccordionContainerBaseProps<TMulti extends boolean>
10-
extends Omit<ComponentPropsWithRef<'div'>, 'dir'> {
9+
export interface IAccordionContainerBaseProps<TMulti extends boolean> extends Omit<
10+
ComponentPropsWithRef<'div'>,
11+
'dir'
12+
> {
1113
/**
1214
* Determines whether one or multiple items can be opened at the same time.
1315
*/

src/core/components/cards/cardCollapsible/cardCollapsible.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import classNames from 'classnames';
22
import { Collapsible, type ICollapsibleProps } from '../../collapsible';
33
import { Card } from '../card';
44

5-
export interface ICardCollapsibleProps
6-
extends Omit<ICollapsibleProps, 'buttonVariant' | 'className' | 'showOverlay' | 'collapsedLines'> {
5+
export interface ICardCollapsibleProps extends Omit<
6+
ICollapsibleProps,
7+
'buttonVariant' | 'className' | 'showOverlay' | 'collapsedLines'
8+
> {
79
/**
810
* Additional class names to apply to the card.
911
*/

src/core/components/dataList/dataListContainer/dataListContainer.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ import type { IEmptyStateProps } from '../../states';
55
import { useDataListContext } from '../dataListContext';
66
import { DataListContainerSkeletonLoader } from './dataListContainerSkeletonLoader';
77

8-
export interface IDataListContainerState
9-
extends Pick<
10-
IEmptyStateProps,
11-
'heading' | 'description' | 'objectIllustration' | 'isStacked' | 'primaryButton' | 'secondaryButton'
12-
> {}
8+
export interface IDataListContainerState extends Pick<
9+
IEmptyStateProps,
10+
'heading' | 'description' | 'objectIllustration' | 'isStacked' | 'primaryButton' | 'secondaryButton'
11+
> {}
1312

1413
export interface IDataListContainerProps extends ComponentProps<'div'> {
1514
/**

src/core/components/dataList/dataListContext/dataListContext.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { createContext, useContext } from 'react';
22
import type { IDataListRootProps } from '../dataListRoot';
33

44
export interface IDataListContext
5-
extends Required<Pick<IDataListRootProps, 'pageSize'>>,
5+
extends
6+
Required<Pick<IDataListRootProps, 'pageSize'>>,
67
Pick<IDataListRootProps, 'itemsCount' | 'state' | 'entityLabel'> {
78
/**
89
* Total number of list item children.

src/core/components/dataList/dataListFilter/dataListFilterSort.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import { Dropdown } from '../../dropdown';
33
import { IconType } from '../../icon';
44
import type { IDataListFilterProps } from './dataListFilter';
55

6-
export interface IDataListFilterSortProps
7-
extends Pick<IDataListFilterProps, 'activeSort' | 'sortItems' | 'onSortChange'> {
6+
export interface IDataListFilterSortProps extends Pick<
7+
IDataListFilterProps,
8+
'activeSort' | 'sortItems' | 'onSortChange'
9+
> {
810
/**
911
* Classes for the dropdown trigger.
1012
*/

src/core/components/definitionList/definitionListItem/definitionListItem.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { Clipboard } from '../../clipboard';
44
import { DefinitionListItemContent, type IDefinitionListItemContentProps } from './definitionListItemContent';
55

66
export interface IDefinitionListItemProps
7-
extends ComponentPropsWithRef<'div'>,
8-
Pick<IDefinitionListItemContentProps, 'link'> {
7+
extends ComponentPropsWithRef<'div'>, Pick<IDefinitionListItemContentProps, 'link'> {
98
/**
109
* The term to be displayed in the definition list item.
1110
*/

src/core/components/forms/checkboxGroup/checkboxGroup.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import type { ReactNode } from 'react';
33
import { useRandomId } from '../../../hooks';
44
import { InputContainer, type IInputContainerBaseProps } from '../inputContainer';
55

6-
export interface ICheckboxGroupProps
7-
extends Pick<IInputContainerBaseProps, 'alert' | 'label' | 'helpText' | 'isOptional'> {
6+
export interface ICheckboxGroupProps extends Pick<
7+
IInputContainerBaseProps,
8+
'alert' | 'label' | 'helpText' | 'isOptional'
9+
> {
810
/**
911
* Additional classes for the component.
1012
*/

src/core/components/forms/inputContainer/inputContainer.api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ export interface IInputContainerProps extends IInputContainerBaseProps, Omit<Com
7676
export type InputComponentElement = HTMLInputElement | HTMLTextAreaElement;
7777

7878
export interface IInputComponentProps<TElement extends InputComponentElement = HTMLInputElement>
79-
extends Omit<IInputContainerBaseProps, 'children' | 'id' | 'inputLength' | 'useCustomWrapper'>,
79+
extends
80+
Omit<IInputContainerBaseProps, 'children' | 'id' | 'inputLength' | 'useCustomWrapper'>,
8081
Omit<InputHTMLAttributes<TElement>, 'type'> {
8182
/**
8283
* Classes for the input element.

src/core/components/forms/inputFileAvatar/inputFileAvatar.api.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ export interface IInputFileAvatarValue {
2525
error?: InputFileAvatarError;
2626
}
2727

28-
export interface IInputFileAvatarProps
29-
extends Pick<IInputContainerBaseProps, 'alert' | 'label' | 'helpText' | 'isOptional' | 'variant' | 'disabled'> {
28+
export interface IInputFileAvatarProps extends Pick<
29+
IInputContainerBaseProps,
30+
'alert' | 'label' | 'helpText' | 'isOptional' | 'variant' | 'disabled'
31+
> {
3032
/**
3133
* Function that is called when a file is selected.
3234
* If the file is rejected, the function is not called.

0 commit comments

Comments
 (0)