Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,18 @@ jobs:
${GITHUB_WORKSPACE}/node_modules/.bin/lerna version ${{ github.event.inputs.release_type }} \
${{ (github.event.inputs.prerelease == 'true' && '--conventional-prerelease') || '--conventional-graduate' }} \
--no-push \
--no-git-tag-version
--no-git-tag-version

- name: version - Snapshot
if: ${{ github.event.inputs.snapshot == 'true' }}
run: |
git_hash=$(git rev-parse --short "${{ github.sha }}")

${GITHUB_WORKSPACE}/node_modules/.bin/lerna version "0.0.0-${git_hash}" \
--exact \
--no-push \
--no-git-tag-version \
--allow-branch ${{ github.ref_name }}



build-and-release:
needs: ['test', 'release-dryrun', 'check-charts-compat-peer-deps']
Expand Down Expand Up @@ -122,7 +120,7 @@ jobs:
if: ${{ github.event.inputs.snapshot == 'true' }}
run: |
git_hash=$(git rev-parse --short "${{ github.sha }}")

${GITHUB_WORKSPACE}/node_modules/.bin/lerna version "0.0.0-${git_hash}" \
--exact \
--no-push \
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@
"postcss-import": "16.1.1",
"postcss-modules": "6.0.1",
"postcss-nesting": "13.0.2",
"prettier": "3.6.2",
"prettier": "3.7.3",
"rimraf": "6.1.2",
"typescript": "5.7.3",
"typescript-eslint": "8.47.0",
"typescript-eslint": "8.48.1",
"vite": "7.2.6",
"vite-plugin-istanbul": "7.2.1",
"vite-tsconfig-paths": "5.1.4"
Expand Down
3 changes: 1 addition & 2 deletions packages/ai/src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ interface ButtonAttributes {
interface ButtonDomRef extends Required<ButtonAttributes>, Ui5DomRef {}

interface ButtonPropTypes
extends ButtonAttributes,
Omit<CommonProps, keyof ButtonAttributes | 'children' | 'onArrowButtonClick' | 'onClick'> {
extends ButtonAttributes, Omit<CommonProps, keyof ButtonAttributes | 'children' | 'onArrowButtonClick' | 'onClick'> {
/**
* Defines the available states of the component.
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that
Expand Down
3 changes: 2 additions & 1 deletion packages/ai/src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ interface InputAttributes {
interface InputDomRef extends Required<InputAttributes>, Ui5DomRef {}

interface InputPropTypes
extends InputAttributes,
extends
InputAttributes,
Omit<
CommonProps,
| keyof InputAttributes
Expand Down
3 changes: 2 additions & 1 deletion packages/ai/src/components/PromptInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ interface PromptInputAttributes {
interface PromptInputDomRef extends Required<PromptInputAttributes>, Ui5DomRef {}

interface PromptInputPropTypes
extends PromptInputAttributes,
extends
PromptInputAttributes,
Omit<
CommonProps,
keyof PromptInputAttributes | 'children' | 'valueStateMessage' | 'onChange' | 'onInput' | 'onSubmit'
Expand Down
3 changes: 2 additions & 1 deletion packages/ai/src/components/TextArea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ interface TextAreaAttributes {
interface TextAreaDomRef extends Required<TextAreaAttributes>, Ui5DomRef {}

interface TextAreaPropTypes
extends TextAreaAttributes,
extends
TextAreaAttributes,
Omit<
CommonProps,
| keyof TextAreaAttributes
Expand Down
6 changes: 4 additions & 2 deletions packages/base/src/internal/types/Ui5CustomEvent.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/**
* ⚠️ __INTERNAL__ use only! This interface is not part of the public API.
*/
export interface Ui5CustomEvent<EventTarget = HTMLElement, Detail = never>
extends Omit<CustomEvent<Detail>, 'target' | 'currentTarget'> {
export interface Ui5CustomEvent<EventTarget = HTMLElement, Detail = never> extends Omit<
CustomEvent<Detail>,
'target' | 'currentTarget'
> {
target: EventTarget;
currentTarget: EventTarget | null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ interface DimensionConfig extends IChartDimension {
interval?: YAxisProps['interval'];
}

export interface ColumnChartWithTrendProps
extends Omit<IChartBaseProps<Omit<ICartesianChartConfig, 'secondYAxis' | 'secondYAxisConfig'>>, 'syncId'> {
export interface ColumnChartWithTrendProps extends Omit<
IChartBaseProps<Omit<ICartesianChartConfig, 'secondYAxis' | 'secondYAxisConfig'>>,
'syncId'
> {
/**
* An array of config objects. Each object will define one dimension of the chart.
*
Expand Down
3 changes: 2 additions & 1 deletion packages/charts/src/components/RadialChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ interface RadialChartConfig {
[rest: string]: any;
}
export interface RadialChartProps
extends Omit<CommonProps, 'onClick' | 'children' | 'onLegendClick'>,
extends
Omit<CommonProps, 'onClick' | 'children' | 'onLegendClick'>,
Pick<IChartBaseProps, 'loading' | 'loadingDelay'> {
/**
* The actual value which defines how much the ring is filled.
Expand Down
3 changes: 2 additions & 1 deletion packages/compat/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ interface TableAttributes {
interface TableDomRef extends Required<TableAttributes>, Ui5DomRef {}

interface TablePropTypes
extends TableAttributes,
extends
TableAttributes,
Omit<
CommonProps,
| keyof TableAttributes
Expand Down
3 changes: 1 addition & 2 deletions packages/compat/src/components/TableColumn/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ interface TableColumnAttributes {
interface TableColumnDomRef extends Required<TableColumnAttributes>, Ui5DomRef {}

interface TableColumnPropTypes
extends TableColumnAttributes,
Omit<CommonProps, keyof TableColumnAttributes | 'children'> {
extends TableColumnAttributes, Omit<CommonProps, keyof TableColumnAttributes | 'children'> {
/**
* Defines the content of the column header
*
Expand Down
9 changes: 4 additions & 5 deletions packages/main/src/components/MessageBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ import { classNames, styleData } from './MessageBox.module.css.js';
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
type MessageBoxActionType = MessageBoxAction | keyof typeof MessageBoxAction | string;

export interface MessageBoxPropTypes
extends Omit<
DialogPropTypes,
'children' | 'footer' | 'headerText' | 'onClose' | 'state' | 'accessibleNameRef' | 'open' | 'initialFocus'
> {
export interface MessageBoxPropTypes extends Omit<
DialogPropTypes,
'children' | 'footer' | 'headerText' | 'onClose' | 'state' | 'accessibleNameRef' | 'open' | 'initialFocus'
> {
/**
* Defines the IDs of the elements that label the component.
*
Expand Down
6 changes: 4 additions & 2 deletions packages/main/src/components/MessageViewButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ import type { ButtonDomRef, ButtonPropTypes } from '../../webComponents/Button/i
import { Button } from '../../webComponents/Button/index.js';
import { classNames, styleData } from './MessageViewButton.module.css.js';

export interface MessageViewButtonProptypes
extends Omit<ButtonPropTypes, 'design' | 'icon' | 'iconEnd' | 'children' | 'type' | 'submits'> {
export interface MessageViewButtonProptypes extends Omit<
ButtonPropTypes,
'design' | 'icon' | 'iconEnd' | 'children' | 'type' | 'submits'
> {
/**
* Specifies the type of the button.
*
Expand Down
3 changes: 2 additions & 1 deletion packages/main/src/components/SelectDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ interface ListDomRefWithPrivateAPIs extends ListDomRef {
}

export interface SelectDialogPropTypes
extends Omit<DialogPropTypes, 'header' | 'headerText' | 'footer' | 'children' | 'state' | 'accessibleName'>,
extends
Omit<DialogPropTypes, 'header' | 'headerText' | 'footer' | 'children' | 'state' | 'accessibleName'>,
Pick<ListPropTypes, 'growing' | 'onLoadMore'> {
/**
* Defines the accessible name of the component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@
@import '../../themes/sap_horizon_dark.css';
@import '../../themes/sap_horizon_hcb.css';
@import '../../themes/sap_horizon_hcw.css';


9 changes: 4 additions & 5 deletions packages/main/src/components/VariantManagement/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ import type { ResponsivePopoverPropTypes } from '../../webComponents/ResponsiveP
import type { TitlePropTypes } from '../../webComponents/Title/index.js';
import type { VariantItemPropTypes } from '../VariantItem/index.js';

export interface SelectedVariantWithStringBool
extends Omit<
SelectedVariant,
'favorite' | 'global' | 'isDefault' | 'labelReadOnly' | 'applyAutomatically' | 'readOnly' | 'hideDelete'
> {
export interface SelectedVariantWithStringBool extends Omit<
SelectedVariant,
'favorite' | 'global' | 'isDefault' | 'labelReadOnly' | 'applyAutomatically' | 'readOnly' | 'hideDelete'
> {
favorite?: boolean | string;
global?: boolean | string;
isDefault?: boolean | string;
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/Avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ interface AvatarAttributes {
interface AvatarDomRef extends Required<AvatarAttributes>, Ui5DomRef {}

interface AvatarPropTypes
extends AvatarAttributes,
Omit<CommonProps, keyof AvatarAttributes | 'badge' | 'children' | 'onClick'> {
extends AvatarAttributes, Omit<CommonProps, keyof AvatarAttributes | 'badge' | 'children' | 'onClick'> {
/**
* Defines the optional badge that will be used for visual affordance.
*
Expand Down
3 changes: 2 additions & 1 deletion packages/main/src/webComponents/AvatarGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ interface AvatarGroupDomRef extends Required<AvatarGroupAttributes>, Ui5DomRef {
}

interface AvatarGroupPropTypes
extends AvatarGroupAttributes,
extends
AvatarGroupAttributes,
Omit<CommonProps, keyof AvatarGroupAttributes | 'children' | 'overflowButton' | 'onClick' | 'onOverflow'> {
/**
* Defines the items of the component. Use the `Avatar` component as an item.
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/Bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ interface BarAttributes {
interface BarDomRef extends Required<BarAttributes>, Ui5DomRef {}

interface BarPropTypes
extends BarAttributes,
Omit<CommonProps, keyof BarAttributes | 'children' | 'endContent' | 'startContent'> {
extends BarAttributes, Omit<CommonProps, keyof BarAttributes | 'children' | 'endContent' | 'startContent'> {
/**
* Defines the content in the middle of the bar.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ interface BarcodeScannerDialogAttributes {
interface BarcodeScannerDialogDomRef extends Required<BarcodeScannerDialogAttributes>, Ui5DomRef {}

interface BarcodeScannerDialogPropTypes
extends BarcodeScannerDialogAttributes,
extends
BarcodeScannerDialogAttributes,
Omit<
CommonProps,
keyof BarcodeScannerDialogAttributes | 'footer' | 'header' | 'onClose' | 'onScanError' | 'onScanSuccess'
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/Breadcrumbs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ interface BreadcrumbsAttributes {
interface BreadcrumbsDomRef extends Required<BreadcrumbsAttributes>, Ui5DomRef {}

interface BreadcrumbsPropTypes
extends BreadcrumbsAttributes,
Omit<CommonProps, keyof BreadcrumbsAttributes | 'children' | 'onItemClick'> {
extends BreadcrumbsAttributes, Omit<CommonProps, keyof BreadcrumbsAttributes | 'children' | 'onItemClick'> {
/**
* Defines the component items.
*
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/BreadcrumbsItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ interface BreadcrumbsItemAttributes {
interface BreadcrumbsItemDomRef extends Required<BreadcrumbsItemAttributes>, Ui5DomRef {}

interface BreadcrumbsItemPropTypes
extends BreadcrumbsItemAttributes,
Omit<CommonProps, keyof BreadcrumbsItemAttributes | 'children'> {
extends BreadcrumbsItemAttributes, Omit<CommonProps, keyof BreadcrumbsItemAttributes | 'children'> {
/**
* Defines the text of the component.
*
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/BusyIndicator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ interface BusyIndicatorAttributes {
interface BusyIndicatorDomRef extends Required<BusyIndicatorAttributes>, Ui5DomRef {}

interface BusyIndicatorPropTypes
extends BusyIndicatorAttributes,
Omit<CommonProps, keyof BusyIndicatorAttributes | 'children'> {
extends BusyIndicatorAttributes, Omit<CommonProps, keyof BusyIndicatorAttributes | 'children'> {
/**
* Determines the content over which the component will appear.
*
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ interface ButtonAttributes {
interface ButtonDomRef extends Required<ButtonAttributes>, Ui5DomRef {}

interface ButtonPropTypes
extends ButtonAttributes,
Omit<CommonProps, keyof ButtonAttributes | 'badge' | 'children' | 'onClick'> {
extends ButtonAttributes, Omit<CommonProps, keyof ButtonAttributes | 'badge' | 'children' | 'onClick'> {
/**
* Adds a badge to the button.
*
Expand Down
3 changes: 2 additions & 1 deletion packages/main/src/webComponents/Calendar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ interface CalendarAttributes {
interface CalendarDomRef extends Required<CalendarAttributes>, Ui5DomRef {}

interface CalendarPropTypes
extends CalendarAttributes,
extends
CalendarAttributes,
Omit<CommonProps, keyof CalendarAttributes | 'calendarLegend' | 'children' | 'specialDates' | 'onSelectionChange'> {
/**
* Defines the calendar legend of the component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ interface CalendarDateRangeAttributes {
interface CalendarDateRangeDomRef extends Required<CalendarDateRangeAttributes>, Ui5DomRef {}

interface CalendarDateRangePropTypes
extends CalendarDateRangeAttributes,
Omit<CommonProps, keyof CalendarDateRangeAttributes> {}
extends CalendarDateRangeAttributes, Omit<CommonProps, keyof CalendarDateRangeAttributes> {}

/**
* The `CalendarDateRange` component defines a range of dates to be used inside `Calendar`
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/CalendarLegend/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ interface CalendarLegendAttributes {
interface CalendarLegendDomRef extends Required<CalendarLegendAttributes>, Ui5DomRef {}

interface CalendarLegendPropTypes
extends CalendarLegendAttributes,
Omit<CommonProps, keyof CalendarLegendAttributes | 'children'> {
extends CalendarLegendAttributes, Omit<CommonProps, keyof CalendarLegendAttributes | 'children'> {
/**
* Defines the items of the component.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ interface CalendarLegendItemAttributes {
interface CalendarLegendItemDomRef extends Required<CalendarLegendItemAttributes>, Ui5DomRef {}

interface CalendarLegendItemPropTypes
extends CalendarLegendItemAttributes,
Omit<CommonProps, keyof CalendarLegendItemAttributes> {}
extends CalendarLegendItemAttributes, Omit<CommonProps, keyof CalendarLegendItemAttributes> {}

/**
* Each `CalendarLegendItem` represents a legend item, displaying a color with a label.
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/CardHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ interface CardHeaderAttributes {
interface CardHeaderDomRef extends Required<CardHeaderAttributes>, Ui5DomRef {}

interface CardHeaderPropTypes
extends CardHeaderAttributes,
Omit<CommonProps, keyof CardHeaderAttributes | 'action' | 'avatar' | 'onClick'> {
extends CardHeaderAttributes, Omit<CommonProps, keyof CardHeaderAttributes | 'action' | 'avatar' | 'onClick'> {
/**
* Defines an action, displayed in the right most part of the header.
*
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/Carousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ interface CarouselDomRef extends Required<CarouselAttributes>, Ui5DomRef {
}

interface CarouselPropTypes
extends CarouselAttributes,
Omit<CommonProps, keyof CarouselAttributes | 'children' | 'onNavigate'> {
extends CarouselAttributes, Omit<CommonProps, keyof CarouselAttributes | 'children' | 'onNavigate'> {
/**
* Defines the content of the component.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ interface ColorPaletteItemAttributes {
interface ColorPaletteItemDomRef extends Required<ColorPaletteItemAttributes>, Ui5DomRef {}

interface ColorPaletteItemPropTypes
extends ColorPaletteItemAttributes,
Omit<CommonProps, keyof ColorPaletteItemAttributes> {}
extends ColorPaletteItemAttributes, Omit<CommonProps, keyof ColorPaletteItemAttributes> {}

/**
* The `ColorPaletteItem` component represents a color in the the `ColorPalette`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ interface ColorPalettePopoverAttributes {
interface ColorPalettePopoverDomRef extends Required<ColorPalettePopoverAttributes>, Ui5DomRef {}

interface ColorPalettePopoverPropTypes
extends ColorPalettePopoverAttributes,
extends
ColorPalettePopoverAttributes,
Omit<CommonProps, keyof ColorPalettePopoverAttributes | 'children' | 'onClose' | 'onItemClick'> {
/**
* Defines the content of the component.
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/webComponents/ColorPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ interface ColorPickerAttributes {
interface ColorPickerDomRef extends Required<ColorPickerAttributes>, Ui5DomRef {}

interface ColorPickerPropTypes
extends ColorPickerAttributes,
Omit<CommonProps, keyof ColorPickerAttributes | 'onChange'> {
extends ColorPickerAttributes, Omit<CommonProps, keyof ColorPickerAttributes | 'onChange'> {
/**
* Fired when the the selected color is changed
*
Expand Down
3 changes: 2 additions & 1 deletion packages/main/src/webComponents/ComboBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ interface ComboBoxAttributes {
interface ComboBoxDomRef extends Required<ComboBoxAttributes>, Ui5DomRef {}

interface ComboBoxPropTypes
extends ComboBoxAttributes,
extends
ComboBoxAttributes,
Omit<
CommonProps,
| keyof ComboBoxAttributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ interface ComboBoxItemGroupAttributes {
interface ComboBoxItemGroupDomRef extends Required<ComboBoxItemGroupAttributes>, Ui5DomRef {}

interface ComboBoxItemGroupPropTypes
extends ComboBoxItemGroupAttributes,
extends
ComboBoxItemGroupAttributes,
Omit<CommonProps, keyof ComboBoxItemGroupAttributes | 'children' | 'header' | 'onMove' | 'onMoveOver'> {
/**
* Defines the items of the <code>ui5-cb-item-group</code>.
Expand Down
Loading
Loading