Skip to content

Commit c8d85ad

Browse files
refactor(webcomponents): merge interface imports (#4664)
1 parent 95fb5c4 commit c8d85ad

File tree

62 files changed

+72
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+72
-132
lines changed

packages/main/scripts/create-web-components-wrapper.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const getEventParameters = (name, parameters) => {
242242
};
243243
});
244244

245-
const importStatements = [`import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';`];
245+
const importStatements = [`import type { Ui5CustomEvent } from '../../interfaces/index.js';`];
246246

247247
const eventTarget = `${name}DomRef`;
248248

packages/main/src/webComponents/AvatarGroup/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import '@ui5/webcomponents/dist/AvatarGroup.js';
44
import type { ReactNode } from 'react';
55
import type { AvatarColorScheme } from '../../enums/index.js';
66
import { AvatarGroupType } from '../../enums/index.js';
7-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
8-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
7+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
98
import { withWebComponent } from '../../internal/withWebComponent.js';
109
import type { UI5WCSlotsNode } from '../../types/index.js';
1110

packages/main/src/webComponents/BarcodeScannerDialog/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use client';
22

33
import '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';
4-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
5-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
4+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
65
import { withWebComponent } from '../../internal/withWebComponent.js';
76

87
interface BarcodeScannerDialogAttributes {}

packages/main/src/webComponents/Breadcrumbs/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/Breadcrumbs.js';
44
import type { ReactNode } from 'react';
55
import { BreadcrumbsDesign, BreadcrumbsSeparatorStyle } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98

109
interface BreadcrumbsAttributes {

packages/main/src/webComponents/Calendar/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import '@ui5/webcomponents/dist/Calendar.js';
44
import type { ReactNode } from 'react';
55
import type { CalendarType } from '../../enums/index.js';
66
import { CalendarSelectionMode } from '../../enums/index.js';
7-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
8-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
7+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
98
import { withWebComponent } from '../../internal/withWebComponent.js';
109

1110
interface CalendarAttributes {
@@ -28,11 +27,11 @@ interface CalendarAttributes {
2827
*/
2928
formatPattern?: string;
3029
/**
31-
* Determines the maximum date available for selection.
30+
* Determines the maximum date available for selection. **Note:** If the formatPattern property is not set, the maxDate value must be provided in the ISO date format (YYYY-MM-dd).
3231
*/
3332
maxDate?: string;
3433
/**
35-
* Determines the minimum date available for selection.
34+
* Determines the minimum date available for selection. **Note:** If the formatPattern property is not set, the minDate value must be provided in the ISO date format (YYYY-MM-dd).
3635
*/
3736
minDate?: string;
3837
/**

packages/main/src/webComponents/CardHeader/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use client';
22

33
import '@ui5/webcomponents/dist/CardHeader.js';
4-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
5-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
4+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
65
import { withWebComponent } from '../../internal/withWebComponent.js';
76
import type { UI5WCSlotsNode } from '../../types/index.js';
87

packages/main/src/webComponents/Carousel/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/Carousel.js';
44
import type { ReactNode } from 'react';
55
import { CarouselArrowsPlacement, CarouselPageIndicatorStyle } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98

109
interface CarouselAttributes {

packages/main/src/webComponents/CheckBox/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/CheckBox.js';
44
import type { WrappingType } from '../../enums/index.js';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98

109
interface CheckBoxAttributes {

packages/main/src/webComponents/ColorPalette/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents/dist/ColorPalette.js';
44
import type { ReactNode } from 'react';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87

98
interface ColorPaletteAttributes {}

packages/main/src/webComponents/ColorPalettePopover/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents/dist/ColorPalettePopover.js';
44
import type { CSSProperties, ReactNode } from 'react';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87

98
interface ColorPalettePopoverAttributes {

packages/main/src/webComponents/ColorPicker/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents/dist/ColorPicker.js';
44
import type { CSSProperties } from 'react';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87

98
interface ColorPickerAttributes {

packages/main/src/webComponents/ComboBox/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/ComboBox.js';
44
import type { ReactNode } from 'react';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/CustomListItem/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/CustomListItem.js';
44
import type { ReactNode } from 'react';
55
import { ListItemType } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/DatePicker/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/DatePicker.js';
44
import type { CalendarType } from '../../enums/index.js';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

@@ -70,11 +69,11 @@ interface DatePickerAttributes {
7069
*/
7170
formatPattern?: string;
7271
/**
73-
* Determines the maximum date available for selection.
72+
* Determines the maximum date available for selection. **Note:** If the formatPattern property is not set, the maxDate value must be provided in the ISO date format (YYYY-MM-dd).
7473
*/
7574
maxDate?: string;
7675
/**
77-
* Determines the minimum date available for selection.
76+
* Determines the minimum date available for selection. **Note:** If the formatPattern property is not set, the minDate value must be provided in the ISO date format (YYYY-MM-dd).
7877
*/
7978
minDate?: string;
8079
/**

packages/main/src/webComponents/DateRangePicker/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/DateRangePicker.js';
44
import type { CalendarType } from '../../enums/index.js';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

@@ -74,11 +73,11 @@ interface DateRangePickerAttributes {
7473
*/
7574
formatPattern?: string;
7675
/**
77-
* Determines the maximum date available for selection.
76+
* Determines the maximum date available for selection. **Note:** If the formatPattern property is not set, the maxDate value must be provided in the ISO date format (YYYY-MM-dd).
7877
*/
7978
maxDate?: string;
8079
/**
81-
* Determines the minimum date available for selection.
80+
* Determines the minimum date available for selection. **Note:** If the formatPattern property is not set, the minDate value must be provided in the ISO date format (YYYY-MM-dd).
8281
*/
8382
minDate?: string;
8483
/**

packages/main/src/webComponents/DateTimePicker/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/DateTimePicker.js';
44
import type { CalendarType } from '../../enums/index.js';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

@@ -70,11 +69,11 @@ interface DateTimePickerAttributes {
7069
*/
7170
formatPattern?: string;
7271
/**
73-
* Determines the maximum date available for selection.
72+
* Determines the maximum date available for selection. **Note:** If the formatPattern property is not set, the maxDate value must be provided in the ISO date format (YYYY-MM-dd).
7473
*/
7574
maxDate?: string;
7675
/**
77-
* Determines the minimum date available for selection.
76+
* Determines the minimum date available for selection. **Note:** If the formatPattern property is not set, the minDate value must be provided in the ISO date format (YYYY-MM-dd).
7877
*/
7978
minDate?: string;
8079
/**

packages/main/src/webComponents/Dialog/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/Dialog.js';
44
import type { ReactNode } from 'react';
55
import { ValueState, PopupAccessibleRole } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/DynamicSideContent/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';
44
import type { ReactNode } from 'react';
55
import { SideContentFallDown, SideContentPosition, SideContentVisibility } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/FileUploader/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/FileUploader.js';
44
import type { ReactNode } from 'react';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/FlexibleColumnLayout/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js';
44
import { FCLLayout } from '../../enums/index.js';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87
import type { UI5WCSlotsNode } from '../../types/index.js';
98

packages/main/src/webComponents/Input/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/Input.js';
44
import type { ReactNode } from 'react';
55
import { InputType, ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/Link/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import '@ui5/webcomponents/dist/Link.js';
44
import type { ReactNode } from 'react';
55
import type { WrappingType } from '../../enums/index.js';
66
import { LinkDesign } from '../../enums/index.js';
7-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
8-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
7+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
98
import { withWebComponent } from '../../internal/withWebComponent.js';
109

1110
interface LinkAttributes {

packages/main/src/webComponents/List/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/List.js';
44
import type { ReactNode } from 'react';
55
import { ListGrowingMode, ListMode, ListSeparators } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/MediaGallery/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import {
77
MediaGalleryMenuHorizontalAlign,
88
MediaGalleryMenuVerticalAlign
99
} from '../../enums/index.js';
10-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
11-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
10+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
1211
import { withWebComponent } from '../../internal/withWebComponent.js';
1312

1413
interface MediaGalleryAttributes {

packages/main/src/webComponents/Menu/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents/dist/Menu.js';
44
import type { ReactNode } from 'react';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87

98
interface MenuAttributes {

packages/main/src/webComponents/MessageStrip/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/MessageStrip.js';
44
import type { ReactNode } from 'react';
55
import { MessageStripDesign } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/MultiComboBox/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/MultiComboBox.js';
44
import type { ReactNode } from 'react';
55
import { ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/MultiInput/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/MultiInput.js';
44
import type { ReactNode } from 'react';
55
import { InputType, ValueState } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/NotificationAction/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
import '@ui5/webcomponents-fiori/dist/NotificationAction.js';
44
import { ButtonDesign } from '../../enums/index.js';
5-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
6-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
5+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
76
import { withWebComponent } from '../../internal/withWebComponent.js';
87

98
interface NotificationActionAttributes {

packages/main/src/webComponents/NotificationListGroupItem/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js';
44
import type { ReactNode } from 'react';
55
import { Priority } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/NotificationListItem/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
import '@ui5/webcomponents-fiori/dist/NotificationListItem.js';
44
import type { ReactNode } from 'react';
5-
import type { WrappingType } from '../../enums/index.js';
65
import { Priority } from '../../enums/index.js';
7-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
8-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { WrappingType } from '../../enums/index.js';
7+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
98
import { withWebComponent } from '../../internal/withWebComponent.js';
109
import type { UI5WCSlotsNode } from '../../types/index.js';
1110

packages/main/src/webComponents/Panel/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import '@ui5/webcomponents/dist/Panel.js';
44
import type { ReactNode } from 'react';
55
import { PanelAccessibleRole, TitleLevel } from '../../enums/index.js';
6-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
7-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
6+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
87
import { withWebComponent } from '../../internal/withWebComponent.js';
98
import type { UI5WCSlotsNode } from '../../types/index.js';
109

packages/main/src/webComponents/Popover/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import {
88
PopoverVerticalAlign,
99
PopupAccessibleRole
1010
} from '../../enums/index.js';
11-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
12-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
11+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
1312
import { withWebComponent } from '../../internal/withWebComponent.js';
1413
import type { UI5WCSlotsNode } from '../../types/index.js';
1514

packages/main/src/webComponents/ProductSwitchItem/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use client';
22

33
import '@ui5/webcomponents-fiori/dist/ProductSwitchItem.js';
4-
import type { CommonProps, Ui5DomRef } from '../../interfaces/index.js';
5-
import type { Ui5CustomEvent } from '../../interfaces/Ui5CustomEvent.js';
4+
import type { Ui5CustomEvent, CommonProps, Ui5DomRef } from '../../interfaces/index.js';
65
import { withWebComponent } from '../../internal/withWebComponent.js';
76

87
interface ProductSwitchItemAttributes {

0 commit comments

Comments
 (0)