-
Notifications
You must be signed in to change notification settings - Fork 94
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
☂️ Road to 2.0 #3857
Comments
@Lukas742 @MarcusNotheis I see that this issue was placed on the 2024-Q3 road map - is that when we can expect the beta for compatibility with UI5WC 2.0? |
Hi @stephen-schmith, |
Hi @MarcusNotheis & @Lukas742,
I just saw these in passing, no pressure, maybe they've been made this way intentionally. Thanks! |
Thanks for your suggestion @ej612. Regarding the ValueState: In general the ValueState |
This issue is a smorgasbord of topics we would like to include in our 2.0 release. It mainly contains features that require breaking changes.
Prerequisites
Release of UI5 Web Components 2.0
2.0 Summary ui5-webcomponents#8608
All breaking changes of UI5 Web Components will be applied to this repository as well, the list below only tracks changes to our own components.
General
feat(cli): create codemod for UI5 Web Components React v2 migration #5908
data-*
attributes. Currently these attributes are only supported when used as props inside tags (e.g.:<Label data-hello="hi" />
), but not when used as type for an object (e.g.:const props: LabelPropTypes = {"data-hello:"hi"}
)fix(TypeScript): include
data-*
attributes inCommonProps
interface #3855dangerouslySetInnerHTML
fromCommonProps
role="application"
. We should take the same approach as@ui5/webcomponents
, i.e. the role="application" attribute for components should no longer be used, as application developers should be responsible for how the application behaves when using screen readers.sapScrollBar
: Opt-out instead of opt-in. --> Make all elements wrapped inside theThemeProvider
use the custom scrollbar styles per default and only use the native scrollbar if the.sapUiNativeScrollbars
class is applied. (Maybe check if we still want to support thedata-native-scrollbar
attribute) In the course of this, remove both scrollbar style classes, as they'll be redundant then.classic
toautomatic
in order to use the new JSX runtime. Our peer dependencies currently only support versions where the JSX runtime can already be used.fix: use new JSX transform in preparation for React 19 #5837
jestSetup
filechore: remove
jestSetup
#5906keydown
selection/click events on SPACE press withkeyup
eventenrichEventWithDetails
function. It should only be used when based on a real event. We should not use it to create artificial events with an actual target. Also improve its behavior to also include "native" detail (e.g. when using theclick
event)@ui5/webcomponents-react
spacing
utils and outline how to achieve the same behavior with common-css. (Up for discussion)react-jss
chore: remove
react-jss
#5907MessageBoxActions
-->MessageBoxAction
MessageBoxTypes
-->MessageBoxType
TypeScript
ReactElement
should be replaced byReactNode
for public types. See this PR for more details.Components
ActionSheet
PR: 🛠️
showCancelButton
withhideCancelButton
and remove defaultPropAnalyticalCard
PR: chore: remove deprecated
AnalyticalCard
component #5887Remove deprecated component.
AnalyticalTable
PR: 🛠️
TableScaleWidthMode
,TableSelectionBehavior
,TableSelectionMode
,TableVisibleRowCountMode
enumscanReorder
column optionText
component. (see here)detail
property of theonRowSelect
event, to not returnselectedFlatRows
as array and use an object (e.g.selectedFlatRowsById
) instead, as currently we need to iterate over all rows the table renders, which can impact performance especially for huge datasets.alwaysShowSubComponent
propLoader
sortable
should not have a value per default (currently:true
)canReorder
column optionDynamicPage
PR: 🛠️
FilterBar
PR: 🛠️
The FilterBar copies lot of element references which is uncommon in React and is also redundant in many cases if the component is fully controlled. We should reduce or even completely omit copying of DOM references and create examples for complex scenarios.
FilterGroupItem
PR: 🛠️
visible
withhidden
and remove defaultPropvisibleInFilterBar
withhideInFilterBar
(or similar name)Form
PR: 🛠️
Replace with UI5 Web Component
Grid
PR: 🛠️
position
as the functionality can be achieved with simple CSSMessageBox
PR: 🛠️
onClose
a pure custom event (no target, etc.) and allowonAfterClose
for consumptionLoader
PR: 🛠️
BusyIndicator
ObjectPage
PR: 🛠️
headerContentPinnable
withhidePinHeaderButton
and remove defaultPropheaderTitle
:-->ReactElement
ReactElement<DynamicPageTitlePropTypes>
headerContent
:-->ReactElement
ReactElement<DynamicPageHeaderPropTypes>
image
:-->string | ReactElement
string | ReactElement<AvatarPropTypes>
ObjectPageSection
PR: 🛠️
titleTextUppercase
withtitleTextLowerCase
and remove defaultProptitleText
required --> it makes no sense omittingtitleText
as then an empty tab would be renderedid
internally - Note: probably not possible without breaking changes some events as we pass theid
of the selected section to some, so developers can for example identify which section are selectedObjectPageSubSection
PR: 🛠️
id
internally - see note of ObjectPageSectionObjectStatus
PR: 🛠️
onClick
: removeHTMLDivElement
from typeText
PR: 🛠️
Charts
ChartContainer
PR: 🛠️
height: '400px'
withheight: '100%'
MicroBarChart
PR: 🛠️
The text was updated successfully, but these errors were encountered: