Skip to content

feat: update to UI5 Web Components 2.0 RC #5861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 144 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
d2cbd00
update deps
Lukas742 May 13, 2024
c4059df
Badge: renamed to Tag & storybook cem & package.json
Lukas742 May 15, 2024
60dc0a4
Badge: remove enum
Lukas742 May 15, 2024
853173c
Badge: add index.tsx & cleanup Badge implementations
Lukas742 May 15, 2024
7ac17c6
GroupHeaderListItem: replace with ListItemGroup
Lukas742 May 15, 2024
bc89701
Text: add web component
Lukas742 May 24, 2024
fd1c725
Tokenizer: add web component
Lukas742 May 24, 2024
606b2e2
Avatar: update enums and component
Lukas742 May 24, 2024
c062cee
WIP
Lukas742 May 24, 2024
dac4647
AvatarGroup: replace enum
MarcusNotheis May 28, 2024
c2bdfa2
Bar: replace enum
MarcusNotheis May 28, 2024
a48101b
BarcodeScannerDialog
MarcusNotheis May 28, 2024
16306d5
Breadcrumbs and BreadcrumbsItem: enum cleanup and props
MarcusNotheis May 28, 2024
a00cb82
BusyIndicator: enums
MarcusNotheis May 28, 2024
f61c546
Button: enums
MarcusNotheis May 28, 2024
35be2dd
Calendar: enums
MarcusNotheis May 28, 2024
36a0e9e
CalendarLegentItem: enums
MarcusNotheis May 28, 2024
c2ae645
codemod: add other enums
MarcusNotheis May 28, 2024
aed771d
Update codemodConfig.json
MarcusNotheis May 28, 2024
f1e6804
Card & CardHeader
MarcusNotheis Jun 3, 2024
8819d1e
Carousel
MarcusNotheis Jun 3, 2024
809510d
Checkbox, ValueState and Wrapping Type
MarcusNotheis Jun 3, 2024
519e5c5
Color*
MarcusNotheis Jun 3, 2024
10df19f
ComboBox
MarcusNotheis Jun 3, 2024
f924177
CustomListItem and HighlightTypes
MarcusNotheis Jun 3, 2024
3df4496
Update codemodConfig.json
MarcusNotheis Jun 3, 2024
c143dbe
Date Pickers
MarcusNotheis Jun 3, 2024
d8a2bbb
Dialog
MarcusNotheis Jun 3, 2024
893102c
DynamicSideContent
MarcusNotheis Jun 3, 2024
379074f
FileUploader & FilterItem
MarcusNotheis Jun 3, 2024
a8ef2b4
FCL
MarcusNotheis Jun 3, 2024
c8b6325
Icon
MarcusNotheis Jun 3, 2024
5806df3
IllustratedMessage
MarcusNotheis Jun 3, 2024
c285371
Input
MarcusNotheis Jun 3, 2024
8dc4208
Label
MarcusNotheis Jun 3, 2024
b1ebd1b
Link
MarcusNotheis Jun 3, 2024
a1ee2c3
List
MarcusNotheis Jun 4, 2024
dca1226
ListItemGroup
MarcusNotheis Jun 4, 2024
2f94e32
MediaGallery & MediaGalleryItem
MarcusNotheis Jun 4, 2024
1829901
Menu & MenuItem
MarcusNotheis Jun 4, 2024
73d003f
MessageStrip
MarcusNotheis Jun 4, 2024
979f9ed
MultiComboBox
MarcusNotheis Jun 4, 2024
7a85213
MultiInput
MarcusNotheis Jun 4, 2024
d330e12
notifications
MarcusNotheis Jun 4, 2024
4dbad15
Option
MarcusNotheis Jun 4, 2024
e0001cb
Page
MarcusNotheis Jun 4, 2024
89c3477
Panel
MarcusNotheis Jun 4, 2024
2a7ff77
Popover
MarcusNotheis Jun 4, 2024
bf65218
ProductSwitch
MarcusNotheis Jun 4, 2024
fab98e8
ProgressIndicator
MarcusNotheis Jun 4, 2024
496992d
RadioButton
MarcusNotheis Jun 4, 2024
dbe1925
RangeSlider & RatingIndicator
MarcusNotheis Jun 4, 2024
37c6150
ResponsivePopover
MarcusNotheis Jun 4, 2024
3f2bdfe
SegmentedButton
MarcusNotheis Jun 4, 2024
62f5199
Select
MarcusNotheis Jun 4, 2024
96ce86b
ShellBar
MarcusNotheis Jun 4, 2024
fa0c8ef
SideNavigation
MarcusNotheis Jun 4, 2024
aa2cb43
Slider
MarcusNotheis Jun 4, 2024
0b93968
SortItem, SpecialCalendarDate
MarcusNotheis Jun 4, 2024
8f0c2cd
SplitButton
MarcusNotheis Jun 4, 2024
e9c1376
StandardListItem
MarcusNotheis Jun 4, 2024
d11030d
StepInput
MarcusNotheis Jun 4, 2024
81835df
SuggestionGroupItem, SuggestionItem, Switch
MarcusNotheis Jun 4, 2024
8be4a6d
Tabs
MarcusNotheis Jun 4, 2024
9e794b6
TextArea
MarcusNotheis Jun 4, 2024
692fa56
TimePicker & Timeline
MarcusNotheis Jun 4, 2024
a6e806b
Update index.tsx
MarcusNotheis Jun 4, 2024
99afd3c
Title & Toast
MarcusNotheis Jun 4, 2024
cd4a988
ToggleButton
MarcusNotheis Jun 4, 2024
e942ada
Token
MarcusNotheis Jun 4, 2024
c20f725
Toolbars
MarcusNotheis Jun 4, 2024
d23d733
Tree
MarcusNotheis Jun 4, 2024
1a23c42
UploadCollection
MarcusNotheis Jun 4, 2024
c37af90
ViewSettingsDialog
MarcusNotheis Jun 4, 2024
8b7122c
Wizard & WizardStep
MarcusNotheis Jun 4, 2024
928f98e
Merge remote-tracking branch 'origin/main' into ui5wc-2.0
MarcusNotheis Jun 4, 2024
7c55dd4
fix eslint errors
MarcusNotheis Jun 4, 2024
b714168
Table: use compat package
MarcusNotheis Jun 4, 2024
b42d9ed
add own components
MarcusNotheis Jun 4, 2024
795c955
fix versions
MarcusNotheis Jun 4, 2024
747dd3a
fix build
MarcusNotheis Jun 4, 2024
56ebc38
fix storybook startup
MarcusNotheis Jun 4, 2024
0981115
fix toast story
MarcusNotheis Jun 4, 2024
87aad25
update to rc.4
MarcusNotheis Jun 5, 2024
a60da31
Select
MarcusNotheis Jun 5, 2024
d5b1310
Button
MarcusNotheis Jun 5, 2024
4e8e629
doc changes
MarcusNotheis Jun 5, 2024
b101b5e
ComboBoxGroupItem
MarcusNotheis Jun 5, 2024
466851d
Dialog
MarcusNotheis Jun 5, 2024
6cec5a7
remove new components for now
MarcusNotheis Jun 5, 2024
4e518c2
Popovers
MarcusNotheis Jun 5, 2024
cb93fb8
Inputs and ListItems
MarcusNotheis Jun 5, 2024
6328034
new component: NotificationList
MarcusNotheis Jun 5, 2024
f6518c0
Notifications
MarcusNotheis Jun 5, 2024
0fd1fa7
ShellBar
MarcusNotheis Jun 5, 2024
22cd27e
ToggleButton and ToolbarButton
MarcusNotheis Jun 5, 2024
aec813d
Tokenizer
MarcusNotheis Jun 5, 2024
618cb16
Update index.tsx
MarcusNotheis Jun 5, 2024
142af7e
Update index.tsx
MarcusNotheis Jun 5, 2024
aecc2b1
Modals
MarcusNotheis Jun 5, 2024
e5bbb0f
delete InputElementsFormSupport
MarcusNotheis Jun 5, 2024
bd98b38
surpress DynamicPage errors
MarcusNotheis Jun 5, 2024
828b36c
fix ActionSheet
MarcusNotheis Jun 5, 2024
ffcd4ee
fix SelectDialog
MarcusNotheis Jun 5, 2024
ef6e37e
fix VariantManagement
MarcusNotheis Jun 5, 2024
f470387
revert model changes
MarcusNotheis Jun 5, 2024
fa50fae
Update yarn.lock
MarcusNotheis Jun 5, 2024
3136b7d
update cypress
MarcusNotheis Jun 5, 2024
52ff32a
Merge remote-tracking branch 'origin/main' into ui5wc-2.0
MarcusNotheis Jun 5, 2024
6660de7
remove all generated enums
MarcusNotheis Jun 6, 2024
786bedf
update to 2.0.0-rc.5
MarcusNotheis Jun 7, 2024
3b0bd5b
update CEM
MarcusNotheis Jun 7, 2024
4cfa0ca
autofix eslint after creating wrappers
MarcusNotheis Jun 7, 2024
d2c74e5
component updates
MarcusNotheis Jun 7, 2024
9d028aa
update NotificationList and CDR
MarcusNotheis Jun 7, 2024
90f8db3
Merge branch 'main' into ui5wc-2.0
MarcusNotheis Jun 7, 2024
62c93a8
fix tests in cypress-commands
MarcusNotheis Jun 7, 2024
cf0ca4d
test: Expandable Text
MarcusNotheis Jun 7, 2024
8ccbcb9
skip dynamic page tests
MarcusNotheis Jun 7, 2024
ac05184
ObjectStatus: fix value state colors
MarcusNotheis Jun 7, 2024
e9c9e11
test: MessageView
MarcusNotheis Jun 7, 2024
88e6b24
test: AnalyticalTable
MarcusNotheis Jun 7, 2024
654ddf7
test: Modals
MarcusNotheis Jun 7, 2024
cf3e214
test: SelectDialog
MarcusNotheis Jun 7, 2024
d2caf19
test: Toolbar
MarcusNotheis Jun 7, 2024
2e0b614
test: VariantManagement
MarcusNotheis Jun 7, 2024
d06d560
Merge remote-tracking branch 'origin/main' into ui5wc-2.0
MarcusNotheis Jun 7, 2024
a245545
fix ActionSheet Test
MarcusNotheis Jun 7, 2024
24ef6e4
fix object page tests
MarcusNotheis Jun 7, 2024
d789324
fix build in react 19
MarcusNotheis Jun 7, 2024
f80b13a
Merge remote-tracking branch 'origin/main' into ui5wc-2.0
MarcusNotheis Jun 10, 2024
30a3aa6
Merge remote-tracking branch 'origin/main' into ui5wc-2.0
MarcusNotheis Jun 10, 2024
dc42aae
Menu: update story
Lukas742 Jun 10, 2024
eff64b8
MessageView & MessageViewButton: fix components and stories
Lukas742 Jun 11, 2024
ba8bc99
List: fix story
Lukas742 Jun 11, 2024
12e0f7a
update stories
Lukas742 Jun 11, 2024
e78b9c3
AnalyticalTable: deprecate `useRowDisableSelection`, fix stories
Lukas742 Jun 11, 2024
e0075f3
update stories
Lukas742 Jun 11, 2024
fb6cea3
stories
Lukas742 Jun 12, 2024
6c364df
Modals: update `showToast` fn
Lukas742 Jun 12, 2024
d2a3e57
Merge branch 'main' into ui5wc-2.0
Lukas742 Jun 12, 2024
3448281
Update yarn.lock
Lukas742 Jun 12, 2024
4315173
MessageView: allow empty groups, fix test
Lukas742 Jun 12, 2024
c420dc1
Update MessageView.cy.tsx
Lukas742 Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .storybook/components/ArgTypesWithNote.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ArgTypes } from '@storybook/blocks';
import { MessageStrip, MessageStripDesign } from '@ui5/webcomponents-react';
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
import { MessageStrip } from '@ui5/webcomponents-react';
import { ComponentProps, ReactNode } from 'react';
import classes from './ArgTypesWithNote.module.css';

Expand Down
3 changes: 2 additions & 1 deletion .storybook/components/ControlsWithNote.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Controls } from '@storybook/blocks';
import { MessageStrip, MessageStripDesign } from '@ui5/webcomponents-react';
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
import { MessageStrip } from '@ui5/webcomponents-react';
import { ComponentProps, ReactNode } from 'react';
import classes from './ControlsWithNote.module.css';
import { DomRefTable } from './DomRefTable';
Expand Down
2 changes: 1 addition & 1 deletion .storybook/components/DocsHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Description, DocsContext, Subtitle, Title } from '@storybook/addon-docs';
import copyIcon from '@ui5/webcomponents-icons/dist/copy';
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
import {
Button,
ButtonDesign,
FlexBox,
FlexBoxAlignItems,
Label,
Expand Down
9 changes: 5 additions & 4 deletions .storybook/components/DomRefTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { DocsContext, Heading } from '@storybook/blocks';
import { Badge, BadgeDesign, Link, MessageStrip, Popover } from '@ui5/webcomponents-react';
import { Tag, Link, MessageStrip, Popover } from '@ui5/webcomponents-react';
import TagDesign from '@ui5/webcomponents/dist/types/TagDesign.js';
import type * as CEM from '@ui5/webcomponents-tools/lib/cem/types';
import type { ReactNode } from 'react';
import { Fragment, useContext, useRef } from 'react';
Expand Down Expand Up @@ -99,9 +100,9 @@ export function DomRefTable() {
{row.deprecated && (
<>
<br />
<Badge
<Tag
className={classes.deprecationInfoBadge}
design={BadgeDesign.Critical}
design={TagDesign.Critical}
interactive={typeof row.deprecated === 'string'}
onClick={
typeof row.deprecated === 'string'
Expand All @@ -113,7 +114,7 @@ export function DomRefTable() {
}
>
deprecated
</Badge>
</Tag>
</>
)}
</td>
Expand Down
10 changes: 5 additions & 5 deletions .storybook/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import {
Button,
ButtonDesign,
FlexBox,
FlexBoxAlignItems,
FlexBoxJustifyContent,
FlexBoxWrap,
Label,
Link,
Popover,
PopoverPlacementType,
WrappingType
Popover
} from '@ui5/webcomponents-react';
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
import PopoverPlacement from '@ui5/webcomponents/dist/types/PopoverPlacement.js';
import WrappingType from '@ui5/webcomponents/dist/types/WrappingType.js';
import { useRef } from 'react';
import { createPortal } from 'react-dom';
import BestRunLogo from '../../assets/SAP_Best_R_grad_blk_scrn.png';
Expand Down Expand Up @@ -63,7 +63,7 @@ export const Footer = ({ style }) => {
<Popover
headerText={'Privacy Statement'}
ref={popoverRef}
placementType={PopoverPlacementType.Top}
placementType={PopoverPlacement.Top}
data-ui5-compact-size
style={{ width: '360px', maxWidth: '100%' }}
>
Expand Down
3 changes: 2 additions & 1 deletion .storybook/components/LabelWithWrapping.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Label, WrappingType } from '@ui5/webcomponents-react';
import { Label } from '@ui5/webcomponents-react';
import WrappingType from '@ui5/webcomponents/dist/types/WrappingType.js';

//mdx adds a paragraph to children if added inline, this component prevents that.
export const LabelWithWrapping = ({ children }) => {
Expand Down
16 changes: 4 additions & 12 deletions .storybook/components/ProjectTemplate.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import TsLogo from '@sb/images/logo-ts.png';
import {
Avatar,
Card,
CardHeader,
Link,
LinkDesign,
MessageStrip,
MessageStripDesign,
Text,
ThemeProvider
} from '@ui5/webcomponents-react';
import LinkDesign from '@ui5/webcomponents/dist/types/LinkDesign.js';
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
import { Avatar, Card, CardHeader, Link, MessageStrip, Text, ThemeProvider } from '@ui5/webcomponents-react';
import { clsx } from 'clsx';
import { ReactNode } from 'react';
import { addCustomCSSWithScoping } from '../../packages/main/src/internal/addCustomCSSWithScoping';
Expand Down Expand Up @@ -79,7 +71,7 @@ export function ProjectTemplate(props: ProjectTemplatePropTypes) {
{deprecationNotice && (
<MessageStrip
hideCloseButton
design={MessageStripDesign.Warning}
design={MessageStripDesign.Critical}
children={deprecationNotice}
className={classes.deprecationNotice}
/>
Expand Down
Loading
Loading