Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .storybook/components/ArgTypesWithNote.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { DomRefTable } from '@sb/components/DomRefTable.js';
import { ArgTypes, type Controls } from '@storybook/addon-docs/blocks';
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
import { MessageStrip } from '@ui5/webcomponents-react';
import type { ComponentProps, ReactNode } from 'react';
import classes from './ArgTypesWithNote.module.css';
import { DomRefTable } from '@sb/components/DomRefTable.js';

interface ArgTypesWithNotePropTypes {
hideHTMLPropsNote?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion .storybook/components/DocsHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Badge } from '@sb/components/Badge';
import type { Controls } from '@storybook/addon-docs/blocks';
import { Description, Subtitle, Title, useOf } from '@storybook/addon-docs/blocks';
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
Expand All @@ -22,6 +21,7 @@ import classes from './DocsHeader.module.css';
import { GitHubLogo } from './GitHub-Mark';
import { Import } from './Import';
import { TableOfContent } from './TableOfContent';
import { Badge } from '@sb/components/Badge';

const Links = ({ isChart }: { isChart?: boolean }) => {
const githubUrl = `https://github.com/UI5/webcomponents-react`;
Expand Down
2 changes: 1 addition & 1 deletion .storybook/components/ProjectTemplate.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import TsLogo from '@sb/images/logo-ts.png';
import LinkDesign from '@ui5/webcomponents/dist/types/LinkDesign.js';
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
import {
Expand All @@ -17,6 +16,7 @@ import { clsx } from 'clsx';
import type { ReactNode } from 'react';
import { useId, useState } from 'react';
import classes from './ProjectTemplate.module.css';
import TsLogo from '@sb/images/logo-ts.png';

interface ProjectTemplatePropTypes {
title: string;
Expand Down
18 changes: 7 additions & 11 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,16 @@ import tseslint from 'typescript-eslint';

const ignorePatterns = {
ignores: [
'packages/ai/dist',
'packages/base/dist',
'**/dist',
'**/generated',
'packages/base/types',
'packages/charts/dist',
'packages/cli/dist',
'packages/compat/dist',
'packages/main/dist',
'packages/main/wrappers',
'packages/mcp-server/dist',
'packages/mcp-server/scripts',
'packages/main/ssr',
'packages/main/index.d.ts',
'packages/main/index.esm.js',
'packages/main/src/i18n/i18n-defaults.ts',
'packages/main/src/generated',
'packages/cypress-commands/dist',
'**/generated',
'packages/mcp-server/docs',
'packages/mcp-server/scripts',
'**/*.module.css.ts',
'.yarn',
'.out/**',
Expand Down
8 changes: 4 additions & 4 deletions examples/nextjs-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"next": "16.2.9",
"react": "19.2.7",
"react-dom": "19.2.7",
"typescript": "5.9.3"
"typescript": "6.0.3"
}
}
6 changes: 3 additions & 3 deletions examples/nextjs-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2022",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand All @@ -9,10 +9,10 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"jsx": "preserve",
"incremental": true,
"plugins": [
{
Expand Down
8 changes: 4 additions & 4 deletions examples/nextjs-pages/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/nextjs-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"next": "16.2.9",
"react": "19.2.7",
"react-dom": "19.2.7",
"typescript": "5.9.3"
"typescript": "6.0.3"
},
"devDependencies": {}
}
4 changes: 2 additions & 2 deletions examples/nextjs-pages/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2022",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand All @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
8 changes: 4 additions & 4 deletions examples/react-router-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/react-router-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.1.1",
"globals": "17.6.0",
"typescript": "5.9.3",
"typescript": "6.0.3",
"typescript-eslint": "8.60.1",
"vite": "8.0.16",
"vite-tsconfig-paths": "6.1.1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"prettier": "3.8.3",
"publint": "0.3.21",
"rimraf": "6.1.3",
"typescript": "5.9.3",
"typescript": "6.0.3",
"typescript-eslint": "8.60.0",
"vite": "8.0.16",
"vite-plugin-istanbul": "9.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, test } from '../../../../../../playwright/fixtures/main-fixtures.js';
import type { Page } from '@playwright/test';
import { expect, test } from '../../../../../../playwright/fixtures/main-fixtures.js';
import { scatterComplexDataSet } from '../../../resources/DemoProps.js';
import { testLoadingStates, testPassThroughProps } from '../../../test-utils/sharedTests.js';
import { ScatterChart } from '../index.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/compat/src/components/Loader/Loader.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import { LoaderType } from '../../enums/LoaderType.js';
import { Loader } from './index.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

describe('Loader', () => {
it('indeterminate', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/compat/src/components/Toolbar/Toolbar.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cssVarToRgb, cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
import PopupAccessibleRole from '@ui5/webcomponents/dist/types/PopupAccessibleRole.js';
import { setTheme } from '@ui5/webcomponents-base/dist/config/Theme.js';
Expand All @@ -17,7 +18,6 @@ import { ToolbarSeparator } from '../ToolbarSeparator/index.js';
import { ToolbarSpacer } from '../ToolbarSpacer/index.js';
import type { ToolbarPropTypes } from './index.js';
import { Toolbar } from './index.js';
import { cssVarToRgb, cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';

interface PropTypes {
onOverflowChange: (event: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import { getRGBColor } from '@ui5/webcomponents-base/dist/util/ColorConversion';
import { ThemingParameters } from '@ui5/webcomponents-react-base';
import { DeviationIndicator, ValueColor } from '../../enums';
Expand All @@ -7,7 +8,6 @@ import { Text } from '../../webComponents/Text/index.js';
import { NumericSideIndicator } from '../NumericSideIndicator';
import type { AnalyticalCardHeaderPropTypes } from './index';
import { AnalyticalCardHeader } from './index';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const TestComp = (props: Omit<CardPropTypes, 'children'>) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import ValueState from '@ui5/webcomponents-base/dist/types/ValueState.js';
import NoDataIllustration from '@ui5/webcomponents-fiori/dist/illustrations/NoData.js';
import NoFilterResults from '@ui5/webcomponents-fiori/dist/illustrations/NoFilterResults.js';
Expand Down Expand Up @@ -82,7 +83,6 @@ import {
import { useF2CellEdit } from './pluginHooks/useF2CellEdit.js';
import { useManualRowSelect } from './pluginHooks/useManualRowSelect';
import { useRowDisableSelection } from './pluginHooks/useRowDisableSelection';
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import type { RowType } from '@/packages/main/src/components/AnalyticalTable/types/index.js';
import { getUi5TagWithSuffix } from '@/packages/main/src/internal/utils.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/FilterBar/FilterBar.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
import { useId, useState } from 'react';
import {
Input,
Expand All @@ -15,7 +16,6 @@ import { VariantItem } from '../VariantItem/index.js';
import { VariantManagement } from '../VariantManagement/index.js';
import type { FilterBarPropTypes } from './index.js';
import { FilterBar } from './index.js';
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';

const variants = (
<VariantManagement data-testid="variantManagement">
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/FlexBox/FlexBox.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';
import { camelToKebabCase, lowercaseFirstLetter } from '@ui5/webcomponents-react-base';
import { FlexBoxJustifyContent, FlexBoxAlignItems, FlexBoxDirection, FlexBoxWrap } from '../../enums/index.js';
import { FlexBox } from './index.js';
import type { FlexBoxPropTypes } from './index.js';
import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils';

describe('FlexBox', () => {
Object.values(FlexBoxJustifyContent).forEach((val: FlexBoxPropTypes['justifyContent']) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/Grid/Grid.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import { GridPosition } from '../../enums/index.js';
import { Grid } from './index.js';
import type { GridPropTypes } from './index.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const style = { height: '6rem', width: '100%' };

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import '@ui5/webcomponents-icons/dist/AllIcons.js';
import '@ui5/webcomponents-fiori/dist/illustrations/NoData.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import BarDesign from '@ui5/webcomponents/dist/types/BarDesign.js';
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
import InputType from '@ui5/webcomponents/dist/types/InputType.js';
Expand Down Expand Up @@ -50,7 +51,6 @@ import {
TableRow,
} from '../..';
import type { TabDomRef } from '../../webComponents/Tab/index.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const arbitraryCharsId = `~\`!1@#$%^&*()-_+={}[]:;"'z,<.>/?|♥`;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import {
VALUE_STATE_ERROR,
VALUE_STATE_INFORMATION,
Expand All @@ -19,7 +20,6 @@ import { TableRow } from '../../webComponents/TableRow/index.js';
import { TableSelectionSingle } from '../../webComponents/TableSelectionSingle/index.js';
import { AnalyticalTable } from '../AnalyticalTable/index.js';
import { ObjectStatus } from './index.js';
import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const statesWithCSSVars: {
state: ValueState | keyof typeof ValueState | IndicationColor | keyof typeof IndicationColor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import type { ResponsiveGridLayoutPropTypes } from './index.js';
import { ResponsiveGridLayout } from './index.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const TestComp = (props: ResponsiveGridLayoutPropTypes) => (
<ResponsiveGridLayout data-testid="rgl" {...props}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';
import TitleLevel from '@ui5/webcomponents/dist/types/TitleLevel.js';
import ValueState from '@ui5/webcomponents-base/dist/types/ValueState.js';
import { useState } from 'react';
Expand All @@ -6,7 +7,6 @@ import { VariantItem } from '../VariantItem/index.js';
import { WithCustomValidation as WithCustomValidationStory } from './VariantManagement.stories';
import type { VariantManagementPropTypes } from './index.js';
import { VariantManagement } from './index.js';
import { cypressPassThroughTestsFactory } from '@/cypress/support/utils';

const WithCustomValidation = WithCustomValidationStory.render;

Expand Down
8 changes: 4 additions & 4 deletions patterns/navigation-layout/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion patterns/navigation-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.3",
"globals": "17.6.0",
"typescript": "5.9.3",
"typescript": "6.0.3",
"typescript-eslint": "8.60.1",
"vite": "8.0.16"
}
Expand Down
2 changes: 1 addition & 1 deletion templates/nextjs-app/app/clientAssetsImport.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use client';

import '@ui5/webcomponents-react/dist/Assets';
import '@ui5/webcomponents-react/dist/Assets.js';
2 changes: 1 addition & 1 deletion templates/nextjs-app/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './clientAssetsImport.ts';
import './clientAssetsImport';
import '@ui5/webcomponents-react/styles.css';
import './globals.css';
import { ThemeProvider } from '@ui5/webcomponents-react';
Expand Down
Loading
Loading