@openui5/sap.ui.unified 1.150.0 → 1.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +6 -6
- package/package.json +2 -2
- package/src/sap/ui/unified/.library +1 -1
- package/src/sap/ui/unified/Calendar.js +11 -1
- package/src/sap/ui/unified/CalendarAppointment.js +1 -1
- package/src/sap/ui/unified/CalendarDateInterval.js +1 -1
- package/src/sap/ui/unified/CalendarLegend.js +1 -1
- package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
- package/src/sap/ui/unified/CalendarMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
- package/src/sap/ui/unified/CalendarRow.js +1 -1
- package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
- package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
- package/src/sap/ui/unified/ColorPicker.js +46 -1
- package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
- package/src/sap/ui/unified/ColorPickerRenderer.js +49 -15
- package/src/sap/ui/unified/ContentSwitcher.js +1 -1
- package/src/sap/ui/unified/Currency.js +1 -1
- package/src/sap/ui/unified/CurrencyRenderer.js +1 -1
- package/src/sap/ui/unified/DateRange.js +1 -1
- package/src/sap/ui/unified/DateTypeRange.js +1 -1
- package/src/sap/ui/unified/FileUploader.js +1 -1
- package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
- package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
- package/src/sap/ui/unified/Menu.js +1 -1
- package/src/sap/ui/unified/MenuItem.js +2 -2
- package/src/sap/ui/unified/MenuItemBase.js +1 -1
- package/src/sap/ui/unified/MenuItemGroup.js +1 -1
- package/src/sap/ui/unified/MenuRenderer.js +4 -2
- package/src/sap/ui/unified/MenuTextFieldItem.js +7 -3
- package/src/sap/ui/unified/MonthlyRecurrenceRule.js +1 -1
- package/src/sap/ui/unified/NonWorkingPeriod.js +1 -1
- package/src/sap/ui/unified/RecurrenceRule.js +1 -1
- package/src/sap/ui/unified/RecurringCalendarAppointment.js +1 -1
- package/src/sap/ui/unified/RecurringNonWorkingPeriod.js +1 -1
- package/src/sap/ui/unified/Shell.js +1 -1
- package/src/sap/ui/unified/ShellHeadItem.js +2 -30
- package/src/sap/ui/unified/ShellHeadUserItem.js +3 -31
- package/src/sap/ui/unified/ShellHeader.js +29 -13
- package/src/sap/ui/unified/ShellLayout.js +1 -1
- package/src/sap/ui/unified/ShellOverlay.js +1 -1
- package/src/sap/ui/unified/SplitContainer.js +1 -1
- package/src/sap/ui/unified/TimeRange.js +1 -1
- package/src/sap/ui/unified/WeeklyRecurrenceRule.js +1 -1
- package/src/sap/ui/unified/YearlyRecurrenceRule.js +1 -1
- package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/Header.js +1 -1
- package/src/sap/ui/unified/calendar/HeaderRenderer.js +1 -0
- package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
- package/src/sap/ui/unified/calendar/Month.js +59 -1
- package/src/sap/ui/unified/calendar/MonthPicker.js +1 -1
- package/src/sap/ui/unified/calendar/MonthRenderer.js +23 -10
- package/src/sap/ui/unified/calendar/MonthsRow.js +1 -1
- package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
- package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
- package/src/sap/ui/unified/calendar/WeeksRow.js +1 -1
- package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
- package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
- package/src/sap/ui/unified/library.js +2 -2
- package/src/sap/ui/unified/themes/base/Calendar.less +39 -6
- package/src/sap/ui/unified/themes/base/ColorPicker.less +125 -3
- package/src/sap/ui/unified/themes/base/FileUploader.less +5 -0
- package/src/sap/ui/unified/themes/base/ShellHeader.less +2 -7
- package/src/sap/ui/unified/themes/sap_hcb/Calendar.less +2 -1
|
@@ -170,7 +170,6 @@
|
|
|
170
170
|
border-color: var(--sapField_BorderColor);
|
|
171
171
|
position: relative;
|
|
172
172
|
cursor: crosshair;
|
|
173
|
-
display: inline-block;
|
|
174
173
|
width: 105px;
|
|
175
174
|
height: 105px;
|
|
176
175
|
background-color: none;
|
|
@@ -371,7 +370,7 @@
|
|
|
371
370
|
padding: 10px 0;
|
|
372
371
|
|
|
373
372
|
.sapMSliderInner {
|
|
374
|
-
height: 1.
|
|
373
|
+
height: 1.5rem;
|
|
375
374
|
border: 1px solid var(--sapContent_ForegroundBorderColor);
|
|
376
375
|
border-radius: 0;
|
|
377
376
|
box-sizing: border-box;
|
|
@@ -386,7 +385,7 @@
|
|
|
386
385
|
/* slider handle */
|
|
387
386
|
.sapMSliderHandle {
|
|
388
387
|
width: 0.9375rem;
|
|
389
|
-
height: 1.
|
|
388
|
+
height: 1.75rem;
|
|
390
389
|
box-shadow: inset 0 0 0 0.125rem var(--sapContent_ContrastShadowColor);
|
|
391
390
|
top: -0.45rem;
|
|
392
391
|
/* to center the handle at the both ends */
|
|
@@ -681,6 +680,129 @@
|
|
|
681
680
|
border-bottom: none;
|
|
682
681
|
}
|
|
683
682
|
}
|
|
683
|
+
|
|
684
|
+
&.sapUiCPHighZoom {
|
|
685
|
+
.sapUiColorPicker-ColorPickerBox {
|
|
686
|
+
float: none;
|
|
687
|
+
width: 100%;
|
|
688
|
+
max-width: 100%;
|
|
689
|
+
height: auto;
|
|
690
|
+
display: block;
|
|
691
|
+
box-sizing: border-box;
|
|
692
|
+
|
|
693
|
+
&::after {
|
|
694
|
+
padding-bottom: 100%;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.sapUiCPSlidersPhone {
|
|
699
|
+
width: 100%;
|
|
700
|
+
box-sizing: border-box;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.sapUiColorPicker-ColorPickerSlider,
|
|
704
|
+
.sapUiColorPicker-ColorPickerAlphaSlider {
|
|
705
|
+
width: 100%;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.sapMDialogScrollCont.sapMDialogStretchContent {
|
|
709
|
+
overflow: hidden;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.sapUiColorPicker-Simplified.sapUnifiedColorPicker.sapUiCPHighZoom {
|
|
715
|
+
box-sizing: border-box;
|
|
716
|
+
width: 100%;
|
|
717
|
+
max-width: 100%;
|
|
718
|
+
min-width: 0;
|
|
719
|
+
overflow: hidden;
|
|
720
|
+
padding: 1rem;
|
|
721
|
+
|
|
722
|
+
.sapUiColorPicker-ColorPickerBox {
|
|
723
|
+
float: none;
|
|
724
|
+
width: 100%;
|
|
725
|
+
max-width: 100%;
|
|
726
|
+
margin: 0 auto 0.5rem auto;
|
|
727
|
+
height: auto;
|
|
728
|
+
display: block;
|
|
729
|
+
box-sizing: border-box;
|
|
730
|
+
|
|
731
|
+
&::after {
|
|
732
|
+
padding-bottom: 100%;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.sapUiColorPicker-ColorPickerSlider {
|
|
737
|
+
width: 100%;
|
|
738
|
+
max-width: 100%;
|
|
739
|
+
box-sizing: border-box;
|
|
740
|
+
margin: 0.5rem auto 0 auto;
|
|
741
|
+
height: 2.25rem;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.sapUiCPHexRow {
|
|
745
|
+
display: flex;
|
|
746
|
+
flex-direction: row;
|
|
747
|
+
align-items: flex-start;
|
|
748
|
+
gap: 0.5rem;
|
|
749
|
+
width: 100%;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.sapUiCPComparisonWrapper {
|
|
753
|
+
flex: 0 0 3.375rem;
|
|
754
|
+
width: 3.375rem;
|
|
755
|
+
box-sizing: border-box;
|
|
756
|
+
height: 2.25rem;
|
|
757
|
+
border: 1px solid var(--sapContent_ForegroundBorderColor);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.sapUiColorPicker-ColorPickerHexField {
|
|
761
|
+
box-sizing: border-box;
|
|
762
|
+
margin-top: 0;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.sapUiColorPicker-ColorPickerHexField.sapMInputBase {
|
|
766
|
+
width: 100%;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.sapUiCPHexWrapper {
|
|
770
|
+
display: flex;
|
|
771
|
+
flex-direction: column;
|
|
772
|
+
flex: 1 1 0;
|
|
773
|
+
min-width: 0;
|
|
774
|
+
height: auto;
|
|
775
|
+
box-sizing: border-box;
|
|
776
|
+
line-height: 1.25rem;
|
|
777
|
+
margin-bottom: 0;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.sapUiCPHexText {
|
|
781
|
+
display: block;
|
|
782
|
+
text-align: center;
|
|
783
|
+
width: 100%;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.sapUiColorPicker-ColorPickerOldColor.sapUiColorPicker-ColorPickerOldColor,
|
|
787
|
+
.sapUiColorPicker-ColorPickerNewColor.sapUiColorPicker-ColorPickerNewColor {
|
|
788
|
+
width: 50%;
|
|
789
|
+
height: 2.25rem;
|
|
790
|
+
border: 0;
|
|
791
|
+
border-bottom: 1px solid var(--sapContent_ForegroundBorderColor);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.sapMDialog.sapMResponsivePopover .sapUiColorPicker-Simplified.sapUnifiedColorPicker.sapUiCPHighZoom {
|
|
796
|
+
padding-top: 0;
|
|
797
|
+
padding-bottom: 0;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.sapMPopover.sapMResponsivePopover .sapUiColorPicker-Simplified.sapUnifiedColorPicker.sapUiCPHighZoom {
|
|
801
|
+
padding-top: 1rem;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.sapMResponsivePopover:has(.sapUiColorPicker-Simplified.sapUnifiedColorPicker.sapUiCPHighZoom) .sapMPopoverScroll {
|
|
805
|
+
overflow: hidden;
|
|
684
806
|
}
|
|
685
807
|
|
|
686
808
|
/* unified Large */
|
|
@@ -435,4 +435,9 @@ html[data-sap-ui-browser^='cr'] .sapUiFupInputMask > input {
|
|
|
435
435
|
.sapUiFup.sapUiFupButtonOnly.sapMInputBase:not(.sapMFocus) .sapMInputBaseContentWrapper:has(.sapMBtnEmphasized):not(.sapMInputBaseReadonlyWrapper):not(.sapMInputBaseContentWrapperState):not(.sapMInputBaseDisabledWrapper):hover {
|
|
436
436
|
background-color: var(--sapButton_Emphasized_Hover_Background);
|
|
437
437
|
border-color: var(--sapButton_Emphasized_Hover_BorderColor);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* Override default width of the FileUploader when it is used inside a Bar/Toolbar/OverflowToolbar */
|
|
441
|
+
.sapMIBar .sapUiFup:not(.sapUiFupButtonOnly) {
|
|
442
|
+
width: 12rem;
|
|
438
443
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
font-size: @_sap_ui_unified_ShellHeader_HeaderBarHeight / 2;
|
|
141
141
|
margin: @_sap_ui_unified_ShellHeader_ButtonOuterSpace - @_sap_ui_unified_ShellHeader_ButtonOutlineWidth;
|
|
142
142
|
margin-top: @_sap_ui_unified_ShellHeader_ButtonOuterSpace;
|
|
143
|
-
color: var(--
|
|
143
|
+
color: var(--sapButton_IconColor);
|
|
144
144
|
border-radius: @_sap_ui_unified_ShellHeader_ButtonBorderRadius;
|
|
145
145
|
border: @_sap_ui_unified_ShellHeader_ButtonOutlineWidth solid transparent;
|
|
146
146
|
box-sizing: border-box;
|
|
@@ -180,11 +180,6 @@
|
|
|
180
180
|
border-right: @_sap_ui_unified_ShellHeader_ButtonSeparatorWidth solid var(--sapToolbar_SeparatorColor);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.sapUiUfdShellHeadItm > span,
|
|
184
|
-
.sapUiUfdShellHeadUsrItm {
|
|
185
|
-
color: var(--sapButton_IconColor);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
183
|
html.sapUiMedia-Std-Desktop .sapUiUfdShellHeadItm:hover > span,
|
|
189
184
|
html.sapUiMedia-Std-Desktop .sapUiUfdShellHeadUsrItm:hover > * {
|
|
190
185
|
background-color: var(--sapButton_Hover_Background);
|
|
@@ -300,7 +295,7 @@ html.sapUiMedia-Std-Desktop .sapUiUfdShellHeadItm.sapUiUfdShellHeadItmSel:hover
|
|
|
300
295
|
display: inline-block;
|
|
301
296
|
vertical-align: top;
|
|
302
297
|
height: 100%;
|
|
303
|
-
color: var(--
|
|
298
|
+
color: var(--sapButton_IconColor);
|
|
304
299
|
}
|
|
305
300
|
|
|
306
301
|
.sapUiUfdShellHeadUsrItm > * {
|