SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.47k stars 254 forks source link

[SpecialCalendarDate]: not all types have a visual representation #9216

Open Lukas742 opened 3 weeks ago

Lukas742 commented 3 weeks ago

Bug Description

When adding a SpecialCalendarDate to the Calendar component the following public types don't change the visuals of a date:

None = "None",
Working = "Working",
NonWorking = "NonWorking",

Affected Component

SpecialCalendarDate, Calendar

Expected Behaviour

In my understanding, Working should make a non-working day such as Saturday look like a normal day and NonWorking the opposite.

Isolated Example

https://stackblitz.com/edit/github-7d2xya?file=main.js,index.html

Steps to Reproduce

  1. Go to StackBlitz
  2. In the first example the first 7 days of the month should be marked as "NonWorking" days, but there's no difference to the default design.
  3. The second example shows all CalendarLegendItemType, but it only shows a visual difference for Type01 - Type20

Log Output, Stack Trace or Screenshots

image

Priority

None

UI5 Web Components Version

1.24.4

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

ilhan007 commented 2 weeks ago

Hello @SAP/ui5-webcomponents-topic-b @hinzzx could you follow up : ))