Skip to content

Commit fc6d14e

Browse files
committed
lint auto fix, delete temp files
1 parent a31aa61 commit fc6d14e

27 files changed

+50
-570
lines changed

.storybook/components/ArgTypesWithNote.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { DomRefTable } from '@sb/components/DomRefTable.js';
22
import { ArgTypes, type Controls } from '@storybook/addon-docs/blocks';
33
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
4-
import { MessageStrip } from '@ui5/webcomponents-react';
54
import type { ComponentProps, ReactNode } from 'react';
65
import classes from './ArgTypesWithNote.module.css';
6+
import { MessageStrip } from '@ui5/webcomponents-react';
77

88
interface ArgTypesWithNotePropTypes {
99
hideHTMLPropsNote?: boolean;

.storybook/components/CommandsAndQueries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Heading, Markdown } from '@storybook/addon-docs/blocks';
2-
import { Tag as WCRTag } from '@ui5/webcomponents-react';
32
import dedent from 'dedent';
43
import { Fragment } from 'react';
4+
import { Tag as WCRTag } from '@ui5/webcomponents-react';
55

66
// Note: these types may be incomplete or faulty. If an error is thrown, first check if the interfaces have to be extended.
77
interface TextNode {

.storybook/components/ControlsWithNote.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Controls } from '@storybook/addon-docs/blocks';
22
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
3-
import { MessageStrip } from '@ui5/webcomponents-react';
43
import type { ComponentProps, ReactNode } from 'react';
54
import classes from './ControlsWithNote.module.css';
65
import { DomRefTable } from './DomRefTable';
6+
import { MessageStrip } from '@ui5/webcomponents-react';
77

88
interface ControlsWithNotePropTypes {
99
hideHTMLPropsNote?: boolean;

.storybook/components/DocsHeader.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ import { Description, Subtitle, Title, useOf } from '@storybook/addon-docs/block
44
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
55
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
66
import copyIcon from '@ui5/webcomponents-icons/dist/copy.js';
7+
import { clsx } from 'clsx';
8+
import type { ComponentProps } from 'react';
9+
import { Fragment } from 'react';
10+
import { useGetSubComponentsOfModule } from '../utils';
11+
import classes from './DocsHeader.module.css';
12+
import { GitHubLogo } from './GitHub-Mark';
13+
import { Import } from './Import';
14+
import { TableOfContent } from './TableOfContent';
715
import {
816
Button,
917
FlexBox,
@@ -14,14 +22,6 @@ import {
1422
Text,
1523
ThemeProvider,
1624
} from '@ui5/webcomponents-react';
17-
import { clsx } from 'clsx';
18-
import type { ComponentProps } from 'react';
19-
import { Fragment } from 'react';
20-
import { useGetSubComponentsOfModule } from '../utils';
21-
import classes from './DocsHeader.module.css';
22-
import { GitHubLogo } from './GitHub-Mark';
23-
import { Import } from './Import';
24-
import { TableOfContent } from './TableOfContent';
2525

2626
const Links = ({ isChart }: { isChart?: boolean }) => {
2727
const githubUrl = `https://github.com/UI5/webcomponents-react`;

.storybook/components/DomRefTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import type { Controls } from '@storybook/addon-docs/blocks';
22
import { Heading, Subheading, useOf } from '@storybook/addon-docs/blocks';
33
import TagDesign from '@ui5/webcomponents/dist/types/TagDesign.js';
4-
import { Tag, Link, MessageStrip, Popover } from '@ui5/webcomponents-react';
54
import type * as CEM from '@ui5/webcomponents-tools/lib/cem/types';
65
import type { ComponentProps, ReactNode } from 'react';
76
import { Fragment, useRef } from 'react';
87
import { createPortal } from 'react-dom';
98
import { useGetCem } from '../utils.js';
109
import classes from './DomRefTable.module.css';
10+
import { Tag, Link, MessageStrip, Popover } from '@ui5/webcomponents-react';
1111

1212
export function CodeBlock(props: { children: ReactNode }) {
1313
return (

.storybook/components/FilterBarExample.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import TitleLevel from '@ui5/webcomponents/dist/types/TitleLevel.js';
2+
import { useReducer, useRef, useState } from 'react';
3+
import classes from './FilterBarExample.module.css';
24
import type { FilterBarPropTypes } from '@ui5/webcomponents-react';
35
import {
46
DatePicker,
@@ -17,8 +19,6 @@ import {
1719
ThemeProvider,
1820
Title,
1921
} from '@ui5/webcomponents-react';
20-
import { useReducer, useRef, useState } from 'react';
21-
import classes from './FilterBarExample.module.css';
2222

2323
const initialState = {
2424
age: 37,

.storybook/components/Footer.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
22
import PopoverPlacement from '@ui5/webcomponents/dist/types/PopoverPlacement.js';
33
import WrappingType from '@ui5/webcomponents/dist/types/WrappingType.js';
4-
import type { ButtonPropTypes, PopoverDomRef } from '@ui5/webcomponents-react';
4+
import type { CommonProps } from '@ui5/webcomponents-react-base';
5+
import { clsx } from 'clsx';
6+
import { useRef, useState } from 'react';
7+
import { createPortal } from 'react-dom';
8+
import BestRunLogo from '../../assets/SAP_Best_R_grad_blk_scrn.png';
9+
import classes from './Footer.module.css';
510
import {
611
Button,
712
FlexBox,
@@ -13,12 +18,7 @@ import {
1318
Popover,
1419
Text,
1520
} from '@ui5/webcomponents-react';
16-
import type { CommonProps } from '@ui5/webcomponents-react-base';
17-
import { clsx } from 'clsx';
18-
import { useRef, useState } from 'react';
19-
import { createPortal } from 'react-dom';
20-
import BestRunLogo from '../../assets/SAP_Best_R_grad_blk_scrn.png';
21-
import classes from './Footer.module.css';
21+
import type { ButtonPropTypes, PopoverDomRef } from '@ui5/webcomponents-react';
2222

2323
export const Footer = (props: CommonProps) => {
2424
const { className } = props;

.storybook/components/ProductsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { ProductCollection } from './products.json';
12
import {
23
FlexBox,
34
FlexBoxDirection,
@@ -9,7 +10,6 @@ import {
910
TableRow,
1011
Text,
1112
} from '@ui5/webcomponents-react';
12-
import { ProductCollection } from './products.json';
1313

1414
export const ProductsTable = () => {
1515
return (

.storybook/components/ProjectTemplate.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import TsLogo from '@sb/images/logo-ts.png';
22
import LinkDesign from '@ui5/webcomponents/dist/types/LinkDesign.js';
33
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
4+
// eslint-disable-next-line import/order
5+
import { addCustomCSSWithScoping } from '@ui5/webcomponents-react-base/internal/utils';
6+
import { clsx } from 'clsx';
7+
import type { ReactNode } from 'react';
8+
import { useId, useState } from 'react';
9+
import classes from './ProjectTemplate.module.css';
410
import {
511
Avatar,
612
Card,
@@ -12,12 +18,6 @@ import {
1218
Text,
1319
ThemeProvider,
1420
} from '@ui5/webcomponents-react';
15-
// eslint-disable-next-line import/order
16-
import { addCustomCSSWithScoping } from '@ui5/webcomponents-react-base/internal/utils';
17-
import { clsx } from 'clsx';
18-
import type { ReactNode } from 'react';
19-
import { useId, useState } from 'react';
20-
import classes from './ProjectTemplate.module.css';
2121

2222
interface ProjectTemplatePropTypes {
2323
title: string;

.storybook/components/SplitterElementContent.tsx

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

44
export const SplitterElementContent = ({
55
text,

0 commit comments

Comments
 (0)