@ui5/webcomponents 2.26.0 → 2.27.0-rc.1
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/CHANGELOG.md +43 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Avatar.d.ts +7 -0
- package/dist/Avatar.js +18 -5
- package/dist/Avatar.js.map +1 -1
- package/dist/ComboBoxItemGroup.d.ts +2 -0
- package/dist/ComboBoxItemGroup.js +2 -0
- package/dist/ComboBoxItemGroup.js.map +1 -1
- package/dist/DatePicker.d.ts +14 -0
- package/dist/DatePicker.js +14 -0
- package/dist/DatePicker.js.map +1 -1
- package/dist/DayPicker.d.ts +1 -0
- package/dist/DayPicker.js +4 -1
- package/dist/DayPicker.js.map +1 -1
- package/dist/DayPickerTemplate.js +1 -1
- package/dist/DayPickerTemplate.js.map +1 -1
- package/dist/Icon.js +3 -0
- package/dist/Icon.js.map +1 -1
- package/dist/List.js +1 -1
- package/dist/List.js.map +1 -1
- package/dist/ListBoxItemGroupTemplate.js +1 -1
- package/dist/ListBoxItemGroupTemplate.js.map +1 -1
- package/dist/ListItem.d.ts +4 -2
- package/dist/ListItem.js +5 -9
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBaseTemplate.d.ts +2 -0
- package/dist/ListItemBaseTemplate.js +1 -1
- package/dist/ListItemBaseTemplate.js.map +1 -1
- package/dist/ListItemGroup.d.ts +7 -23
- package/dist/ListItemGroup.js +4 -21
- package/dist/ListItemGroup.js.map +1 -1
- package/dist/ListItemGroupBase.d.ts +41 -0
- package/dist/ListItemGroupBase.js +54 -0
- package/dist/ListItemGroupBase.js.map +1 -0
- package/dist/ListItemStandardTemplate.js +1 -1
- package/dist/ListItemStandardTemplate.js.map +1 -1
- package/dist/MultiComboBoxItemGroup.d.ts +2 -0
- package/dist/MultiComboBoxItemGroup.js +2 -0
- package/dist/MultiComboBoxItemGroup.js.map +1 -1
- package/dist/NumberInput.d.ts +271 -0
- package/dist/NumberInput.js +719 -0
- package/dist/NumberInput.js.map +1 -0
- package/dist/NumberInputTemplate.d.ts +2 -0
- package/dist/NumberInputTemplate.js +18 -0
- package/dist/NumberInputTemplate.js.map +1 -0
- package/dist/Option.d.ts +10 -0
- package/dist/Option.js +6 -0
- package/dist/Option.js.map +1 -1
- package/dist/OptionGroup.d.ts +34 -0
- package/dist/OptionGroup.js +61 -0
- package/dist/OptionGroup.js.map +1 -0
- package/dist/OptionGroupTemplate.d.ts +2 -0
- package/dist/OptionGroupTemplate.js +6 -0
- package/dist/OptionGroupTemplate.js.map +1 -0
- package/dist/OptionTemplate.js +6 -1
- package/dist/OptionTemplate.js.map +1 -1
- package/dist/Popover.js +5 -3
- package/dist/Popover.js.map +1 -1
- package/dist/Select.d.ts +19 -2
- package/dist/Select.js +79 -28
- package/dist/Select.js.map +1 -1
- package/dist/SelectPopoverTemplate.js +1 -1
- package/dist/SelectPopoverTemplate.js.map +1 -1
- package/dist/SelectTemplate.js +2 -1
- package/dist/SelectTemplate.js.map +1 -1
- package/dist/SplitButton.d.ts +7 -3
- package/dist/SplitButton.js +4 -4
- package/dist/SplitButton.js.map +1 -1
- package/dist/SplitButtonTemplate.js +1 -1
- package/dist/SplitButtonTemplate.js.map +1 -1
- package/dist/StepInput.d.ts +14 -127
- package/dist/StepInput.js +40 -472
- package/dist/StepInput.js.map +1 -1
- package/dist/StepInputTemplate.js +4 -15
- package/dist/StepInputTemplate.js.map +1 -1
- package/dist/SuggestionItemGroup.d.ts +2 -0
- package/dist/SuggestionItemGroup.js +2 -0
- package/dist/SuggestionItemGroup.js.map +1 -1
- package/dist/ToolbarButton.d.ts +18 -0
- package/dist/ToolbarButton.js +16 -0
- package/dist/ToolbarButton.js.map +1 -1
- package/dist/ToolbarButtonTemplate.js +1 -1
- package/dist/ToolbarButtonTemplate.js.map +1 -1
- package/dist/bundle.esm.js +2 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/NumberInput.css +1 -0
- package/dist/css/themes/OptionGroup.css +1 -0
- package/dist/css/themes/StepInput.css +1 -1
- package/dist/css/themes/TimePickerClock.css +1 -1
- package/dist/css/themes/TimeSelectionClocks.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_auto/parameters-bundle.css +30 -22
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hc_auto/parameters-bundle.css +31 -24
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +719 -156
- package/dist/custom-elements.json +658 -162
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_auto/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hc_auto/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +8 -6
- package/dist/generated/i18n/i18n-defaults.js +8 -6
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/NumberInput.css.d.ts +2 -0
- package/dist/generated/themes/NumberInput.css.js +8 -0
- package/dist/generated/themes/NumberInput.css.js.map +1 -0
- package/dist/generated/themes/OptionGroup.css.d.ts +2 -0
- package/dist/generated/themes/OptionGroup.css.js +8 -0
- package/dist/generated/themes/OptionGroup.css.js.map +1 -0
- package/dist/generated/themes/StepInput.css.d.ts +1 -1
- package/dist/generated/themes/StepInput.css.js +1 -1
- package/dist/generated/themes/StepInput.css.js.map +1 -1
- package/dist/generated/themes/TimePickerClock.css.d.ts +1 -1
- package/dist/generated/themes/TimePickerClock.css.js +1 -1
- package/dist/generated/themes/TimePickerClock.css.js.map +1 -1
- package/dist/generated/themes/TimeSelectionClocks.css.d.ts +1 -1
- package/dist/generated/themes/TimeSelectionClocks.css.js +1 -1
- package/dist/generated/themes/TimeSelectionClocks.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js +30 -22
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js +31 -24
- package/dist/generated/themes/sap_horizon_hc_auto/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +117 -17
- package/dist/web-types.json +266 -34
- package/package.json +9 -9
- package/src/DayPickerTemplate.tsx +1 -1
- package/src/ListBoxItemGroupTemplate.tsx +1 -1
- package/src/ListItemBaseTemplate.tsx +4 -0
- package/src/ListItemStandardTemplate.tsx +1 -1
- package/src/NumberInputTemplate.tsx +95 -0
- package/src/OptionGroupTemplate.tsx +20 -0
- package/src/OptionTemplate.tsx +6 -1
- package/src/SelectPopoverTemplate.tsx +1 -1
- package/src/SelectTemplate.tsx +6 -0
- package/src/SplitButtonTemplate.tsx +1 -2
- package/src/StepInputTemplate.tsx +23 -86
- package/src/ToolbarButtonTemplate.tsx +2 -0
- package/src/i18n/messagebundle.properties +13 -8
- package/src/i18n/messagebundle_de.properties +2 -2
- package/src/i18n/messagebundle_en.properties +2 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +7 -6
- package/src/i18n/messagebundle_pl.properties +1 -1
- package/src/i18n/messagebundle_ru.properties +1 -1
- package/src/themes/NumberInput.css +321 -0
- package/src/themes/OptionGroup.css +28 -0
- package/src/themes/StepInput.css +0 -276
- package/src/themes/TimePickerClock.css +1 -1
- package/src/themes/TimeSelectionClocks.css +1 -1
- package/src/themes/base/NumberInput-parameters.css +31 -0
- package/src/themes/base/sizes-parameters.css +3 -3
- package/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon/NumberInput-parameters.css +26 -0
- package/src/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_dark/NumberInput-parameters.css +26 -0
- package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/themes/sap_horizon_hcb/NumberInput-parameters.css +14 -0
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +2 -1
- package/src/themes/sap_horizon_hcw/NumberInput-parameters.css +14 -0
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +2 -1
- package/src/themes/base/StepInput-parameters.css +0 -25
- package/src/themes/sap_horizon/StepInput-parameters.css +0 -25
- package/src/themes/sap_horizon_dark/StepInput-parameters.css +0 -25
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
@import "./FormComponents.css";
|
|
2
|
+
@import "./InvisibleTextStyles.css";
|
|
3
|
+
@import "./InputIcon.css";
|
|
4
|
+
@import "./InputSharedStyles.css";
|
|
5
|
+
|
|
6
|
+
:host(:not([hidden])) {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
line-height: normal;
|
|
9
|
+
letter-spacing: normal;
|
|
10
|
+
word-spacing: normal;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([disabled]) {
|
|
14
|
+
opacity: var(--_ui5_input_disabled_opacity);
|
|
15
|
+
cursor: default;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
background-color: var(--_ui5-input_disabled_background);
|
|
18
|
+
border-color: var(--_ui5_input_disabled_border_color);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host {
|
|
22
|
+
color: var(--sapField_TextColor);
|
|
23
|
+
background-color: var(--sapField_Background);
|
|
24
|
+
border: var(--_ui5_number_input_border_style);
|
|
25
|
+
border-radius: var(--sapField_BorderCornerRadius);
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
height: var(--_ui5_input_height);
|
|
28
|
+
position: relative;
|
|
29
|
+
isolation: isolate;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
margin: var(--_ui5_input_margin_top_bottom) 0;
|
|
32
|
+
min-width: var(--_ui5_number_input_min_width);
|
|
33
|
+
text-align: right;
|
|
34
|
+
user-select: none;
|
|
35
|
+
-moz-user-select: none;
|
|
36
|
+
-webkit-user-select: none;
|
|
37
|
+
-ms-user-select: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[ui5-input] {
|
|
41
|
+
--ui5_input_focus_pseudo_element_content: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host .ui5-number-input-input {
|
|
45
|
+
text-align: inherit;
|
|
46
|
+
height: inherit;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host(:not([value-state]):not([readonly]):not([disabled])){
|
|
50
|
+
box-shadow: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host([value-state="Information"]:not([readonly]):not([disabled])) {
|
|
54
|
+
border-width: var(--_ui5_input_information_border_width);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host([readonly]:not([disabled])) {
|
|
58
|
+
border-width: var(--sapElement_BorderWidth);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled])),
|
|
62
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled])),
|
|
63
|
+
:host([value-state="Information"]:not([readonly]):not([disabled])) {
|
|
64
|
+
border-style: var(--_ui5_number_input_error_warning_information_border_style);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host(:not([value-state]):not([readonly]):not([disabled]):hover),
|
|
68
|
+
:host([value-state="None"]:not([readonly]):not([disabled]):hover) {
|
|
69
|
+
background-color: var(--_ui5_number_input_border_color_hover);
|
|
70
|
+
border: var(--_ui5_number_input_border_hover);
|
|
71
|
+
}
|
|
72
|
+
:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),
|
|
73
|
+
:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
74
|
+
background-color: var(--sapField_Hover_Background);
|
|
75
|
+
border: var(--_ui5_number_input_border_style_hover);
|
|
76
|
+
box-shadow: var(--sapField_Hover_Shadow);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
80
|
+
box-shadow: var(--sapField_Hover_SuccessShadow);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
84
|
+
box-shadow: var(--sapField_Hover_InformationShadow);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
88
|
+
box-shadow: var(--sapField_Hover_WarningShadow);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
92
|
+
box-shadow: var(--sapField_Hover_InvalidShadow);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled]):hover),
|
|
96
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled]):hover),
|
|
97
|
+
:host([value-state="Information"]:not([readonly]):not([disabled]):hover),
|
|
98
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled]):hover) {
|
|
99
|
+
background-color: var(--_ui5_number_input_button_state_hover_background_color);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host(:not([value-state]):not([readonly]):not([disabled])[focused]),
|
|
103
|
+
:host([value-state="None"]:not([readonly]):not([disabled])[focused]),
|
|
104
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled])[focused]),
|
|
105
|
+
:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),
|
|
106
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled])[focused]){
|
|
107
|
+
background-color: var(--sapField_Focus_Background);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled])[focused]) {
|
|
111
|
+
background-color: var(--_ui5_number_input_error_focused_background);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled]):hover),
|
|
115
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled])[focused]:hover) {
|
|
116
|
+
background-color: var(--_ui5_number_input_error_hover_background);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled]))::after,
|
|
120
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled]))::after,
|
|
121
|
+
:host([value-state="None"]:not([readonly]):not([disabled]))::after,
|
|
122
|
+
:host([value-state="Information"]:not([readonly]):not([disabled]))::after,
|
|
123
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled]))::after {
|
|
124
|
+
position: absolute;
|
|
125
|
+
content: "";
|
|
126
|
+
top: -1px;
|
|
127
|
+
right: -1px;
|
|
128
|
+
bottom: -1px;
|
|
129
|
+
left: -1px;
|
|
130
|
+
outline: none;
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
border-radius: var(--sapField_BorderCornerRadius);
|
|
133
|
+
border-style: var(--_ui5_number_input_after_border_style);
|
|
134
|
+
z-index: 0;
|
|
135
|
+
border-width: 0px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([value-state="Information"]:not([readonly]):not([disabled]))::after {
|
|
139
|
+
border-color: var(--sapField_InformationColor);
|
|
140
|
+
border-width: var(--_ui5_input_information_border_width);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled]))::after {
|
|
144
|
+
border-color: var(--sapField_WarningColor);
|
|
145
|
+
border-width: 2px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled]))::after {
|
|
149
|
+
border-color: var(--sapField_SuccessColor);
|
|
150
|
+
border-width: 1px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled]))::after {
|
|
154
|
+
border-color: var(--sapField_InvalidColor);
|
|
155
|
+
border-width: var(--_ui5_input_information_border_width);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:host([value-state])::after {
|
|
159
|
+
border-width: var(--_ui5_input_state_border_width);
|
|
160
|
+
}
|
|
161
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-number-input-input {
|
|
162
|
+
background-color: var(--_ui5_number_input_error_background_color);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:host([value-state]:not([value-state="None"]) .ui5-number-input-input[focused]) {
|
|
166
|
+
outline: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:host .ui5-number-input-input {
|
|
170
|
+
width: 100%;
|
|
171
|
+
color: inherit;
|
|
172
|
+
background-color: inherit;
|
|
173
|
+
border: var(--_ui5_number_input_input_border);
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
vertical-align: top;
|
|
176
|
+
margin-top: var(--_ui5_number_input_input_margin_top);
|
|
177
|
+
min-width: var(--_ui5_number_input_min_width);
|
|
178
|
+
position: relative;
|
|
179
|
+
outline: none;
|
|
180
|
+
line-height: inherit;
|
|
181
|
+
letter-spacing: inherit;
|
|
182
|
+
word-spacing: inherit;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host .ui5-number-input-root.ui5-number-input-root--with-buttons .ui5-number-input-input {
|
|
186
|
+
padding-inline-start: var(--_ui5_number_input_padding_with_step_buttons);
|
|
187
|
+
padding-inline-end: var(--_ui5_number_input_padding_with_step_buttons);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host .ui5-number-input-input[readonly] {
|
|
191
|
+
padding: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:host .ui5-number-input-input:hover,
|
|
195
|
+
:host .ui5-number-input-input[focused]{
|
|
196
|
+
box-shadow: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host .ui5-number-input-root {
|
|
200
|
+
line-height: inherit;
|
|
201
|
+
letter-spacing: inherit;
|
|
202
|
+
word-spacing: inherit;
|
|
203
|
+
height: inherit;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:host .ui5-number-input-input::part(input) {
|
|
207
|
+
white-space: nowrap;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host .ui5-number-input-input[text-align=left]::part(input) {
|
|
211
|
+
text-align: left;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:host .ui5-number-input-input[text-align=center]::part(input) {
|
|
215
|
+
text-align: center;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:host .ui5-number-input-input[text-align=right]::part(input) {
|
|
219
|
+
text-align: right;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
::slotted([slot="valueStateMessage"]) {
|
|
223
|
+
text-align: left;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
:host .ui5-step-icon {
|
|
227
|
+
position: absolute;
|
|
228
|
+
display: var(--_ui5_number_input_button_display);
|
|
229
|
+
height: 2rem;
|
|
230
|
+
height: 100%;
|
|
231
|
+
background-color: var(--_ui5_number_input_button_background_color);
|
|
232
|
+
z-index: 0;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:host .ui5-step-icon[focused] {
|
|
236
|
+
border: none;
|
|
237
|
+
outline: none;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
:host .ui5-step-icon.ui5-step-dec {
|
|
241
|
+
left: var(--_ui5_number_input_button_left);
|
|
242
|
+
z-index: 1;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
:host .ui5-step-icon.ui5-step-inc {
|
|
246
|
+
right: var(--_ui5_number_input_button_right);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
:host .ui5-step-icon *:not(.ui5-number-input-icon--clickable),
|
|
250
|
+
:host .ui5-step-icon *:not(.ui5-number-input-icon--clickable):active,
|
|
251
|
+
:host .ui5-step-icon *:not(.ui5-number-input-icon--clickable):hover {
|
|
252
|
+
opacity: 0.5;
|
|
253
|
+
background-color: transparent;
|
|
254
|
+
color: var(--sapContent_IconColor);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
:host .ui5-step-icon :not(.ui5-number-input-icon--clickable) *:hover,
|
|
258
|
+
:host .ui5-step-icon :not(.ui5-number-input-icon--clickable) *:active {
|
|
259
|
+
background-color: var(--sapField_Background);
|
|
260
|
+
color: var(--sapContent_IconColor);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
:host .ui5-number-input-input[focused]::after {
|
|
264
|
+
position: absolute;
|
|
265
|
+
content: "";
|
|
266
|
+
border: var(--_ui5_number_input_input_border_focused_after);
|
|
267
|
+
top: var(--_ui5_number_input_input_border_top_bottom_focused_after);
|
|
268
|
+
right: 0px;
|
|
269
|
+
bottom: var(--_ui5_number_input_input_border_bottom_focused_after);
|
|
270
|
+
border-radius: var(--_ui5_number_input_input_border_radius_focused_after);
|
|
271
|
+
left: 0px;
|
|
272
|
+
outline: none;
|
|
273
|
+
pointer-events: none;
|
|
274
|
+
z-index: 1;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
:host([readonly]) .ui5-number-input-input[focused]::after{
|
|
278
|
+
top: var(--_ui5_input_readonly_focus_offset);
|
|
279
|
+
bottom: var(--_ui5_input_readonly_focus_offset);
|
|
280
|
+
left: var(--_ui5_input_readonly_focus_offset);
|
|
281
|
+
right: var(--_ui5_input_readonly_focus_offset);
|
|
282
|
+
border-radius: var(--_ui5_input_readonly_focus_border_radius);
|
|
283
|
+
border-color: var(--sapContent_FocusColor);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:host .ui5-number-input-input[focused] {
|
|
287
|
+
outline: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-number-input-input[focused]::after {
|
|
291
|
+
border-color: var(--_ui5_number_input_input_information_border_color_focused_after);
|
|
292
|
+
top: var(--_ui5_number_input_input_border_top_information_focused_after);
|
|
293
|
+
bottom: var(--_ui5_number_input_input_border_bottom_information_focused_after);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:host([value-state="Critical"]:not([readonly]):not([disabled])) .ui5-number-input-input[focused]::after {
|
|
297
|
+
border-color: var(--_ui5_number_input_input_warning_border_color_focused_after);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:host([value-state="Positive"]:not([readonly]):not([disabled])) .ui5-number-input-input[focused]::after {
|
|
301
|
+
border-color: var(--_ui5_number_input_input_success_border_color_focused_after);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-number-input-input[focused]::after {
|
|
305
|
+
border-color: var(--_ui5_number_input_input_error_border_color_focused_after);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* Disable spin buttons in Chrome, Safari, Edge, Opera */
|
|
309
|
+
:host .ui5-number-input-input::-webkit-outer-spin-button,
|
|
310
|
+
:host .ui5-number-input-input::-webkit-inner-spin-button {
|
|
311
|
+
-webkit-appearance: none;
|
|
312
|
+
margin: 0;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
:host([disabled]) .ui5-step-icon {
|
|
316
|
+
background-color: var(--_ui5_number_input_disabled_button_background);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
:host([disabled]) .ui5-step-icon [ui5-icon] {
|
|
320
|
+
color: var(--sapField_ReadOnly_BorderColor);
|
|
321
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ui5-option-group-root {
|
|
6
|
+
width: 100%;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
padding: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ui5-option-group-header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
padding: 1.25rem 1rem 0.5rem;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
border-bottom: 1px solid var(--sapList_GroupHeaderBorderColor);
|
|
18
|
+
background: var(--sapList_GroupHeaderBackground);
|
|
19
|
+
color: var(--sapList_TableGroupHeaderTextColor);
|
|
20
|
+
font-family: var(--sapFontHeaderFamily);
|
|
21
|
+
font-size: var(--sapFontHeader6Size);
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
user-select: none;
|
|
28
|
+
}
|
package/src/themes/StepInput.css
CHANGED
|
@@ -1,279 +1,3 @@
|
|
|
1
|
-
@import "./FormComponents.css";
|
|
2
|
-
@import "./InvisibleTextStyles.css";
|
|
3
|
-
@import "./InputIcon.css";
|
|
4
|
-
@import "./InputSharedStyles.css";
|
|
5
|
-
|
|
6
1
|
:host(:not([hidden])) {
|
|
7
2
|
display: inline-block;
|
|
8
|
-
line-height: normal;
|
|
9
|
-
letter-spacing: normal;
|
|
10
|
-
word-spacing: normal;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:host {
|
|
14
|
-
color: var(--sapField_TextColor);
|
|
15
|
-
background-color: var(--sapField_Background);
|
|
16
|
-
border: var(--_ui5_step_input_border_style);
|
|
17
|
-
border-radius: var(--sapField_BorderCornerRadius);
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
height: var(--_ui5_input_height);
|
|
20
|
-
position: relative;
|
|
21
|
-
isolation: isolate;
|
|
22
|
-
margin: var(--_ui5_input_margin_top_bottom) 0;
|
|
23
|
-
min-width: var(--_ui5_step_input_min_width);
|
|
24
|
-
text-align: right;
|
|
25
|
-
user-select: none;
|
|
26
|
-
-moz-user-select: none;
|
|
27
|
-
-webkit-user-select: none;
|
|
28
|
-
-ms-user-select: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
[ui5-input] {
|
|
32
|
-
--ui5_input_focus_pseudo_element_content: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host .ui5-step-input-input {
|
|
36
|
-
text-align: inherit;
|
|
37
|
-
height: inherit;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:host(:not([value-state]):not([readonly]):not([disabled])){
|
|
41
|
-
box-shadow: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host(:not([value-state]):not([readonly]):not([disabled]):hover),
|
|
45
|
-
:host([value-state="None"]:not([readonly]):not([disabled]):hover) {
|
|
46
|
-
background-color: var(--_ui5_step_input_border_color_hover);
|
|
47
|
-
border: var(--_ui5_step_input_border_hover);
|
|
48
|
-
}
|
|
49
|
-
:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),
|
|
50
|
-
:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
51
|
-
background-color: var(--sapField_Hover_Background);
|
|
52
|
-
border: var(--_ui5_step_input_border_style_hover);
|
|
53
|
-
box-shadow: var(--sapField_Hover_Shadow);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
57
|
-
box-shadow: var(--sapField_Hover_SuccessShadow);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
61
|
-
box-shadow: var(--sapField_Hover_InformationShadow);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
65
|
-
box-shadow: var(--sapField_Hover_WarningShadow);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled]):not([focused]):hover) {
|
|
69
|
-
box-shadow: var(--sapField_Hover_InvalidShadow);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled]):hover),
|
|
73
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled]):hover),
|
|
74
|
-
:host([value-state="Information"]:not([readonly]):not([disabled]):hover),
|
|
75
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled]):hover) {
|
|
76
|
-
background-color: var(--_ui5-step_input_button_state_hover_background_color);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:host(:not([value-state]):not([readonly]):not([disabled])[focused]),
|
|
80
|
-
:host([value-state="None"]:not([readonly]):not([disabled])[focused]),
|
|
81
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled])[focused]),
|
|
82
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled])[focused]),
|
|
83
|
-
:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),
|
|
84
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled])[focused]){
|
|
85
|
-
background-color: var(--sapField_Focus_Background);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled]))::after,
|
|
89
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled]))::after,
|
|
90
|
-
:host([value-state="None"]:not([readonly]):not([disabled]))::after,
|
|
91
|
-
:host([value-state="Information"]:not([readonly]):not([disabled]))::after,
|
|
92
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled]))::after {
|
|
93
|
-
position: absolute;
|
|
94
|
-
content: "";
|
|
95
|
-
top: -1px;
|
|
96
|
-
right: -1px;
|
|
97
|
-
bottom: -1px;
|
|
98
|
-
left: -1px;
|
|
99
|
-
outline: none;
|
|
100
|
-
pointer-events: none;
|
|
101
|
-
border-radius: var(--sapField_BorderCornerRadius);
|
|
102
|
-
border-style: var(--_ui5_input_error_warning_border_style);
|
|
103
|
-
z-index: 0;
|
|
104
|
-
border-width: 0px;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
:host([value-state="Information"]:not([readonly]):not([disabled]))::after {
|
|
108
|
-
border-color: var(--sapField_InformationColor);
|
|
109
|
-
border-width: var(--_ui5_input_information_border_width);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled]))::after {
|
|
113
|
-
border-color: var(--sapField_WarningColor);
|
|
114
|
-
border-width: 2px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled]))::after {
|
|
118
|
-
border-color: var(--sapField_SuccessColor);
|
|
119
|
-
border-width: 1px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled]))::after {
|
|
123
|
-
border-color: var(--sapField_InvalidColor);
|
|
124
|
-
border-width: var(--_ui5_input_information_border_width);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
:host([value-state])::after {
|
|
128
|
-
border-width: var(--_ui5_input_state_border_width);
|
|
129
|
-
}
|
|
130
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-step-input-input {
|
|
131
|
-
background-color: var(--_ui5_input_input_background_color);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover {
|
|
135
|
-
background-color: var(--_ui5_step_input_input_error_background_color);
|
|
136
|
-
}
|
|
137
|
-
:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]) {
|
|
138
|
-
outline: none;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
:host .ui5-step-input-input {
|
|
142
|
-
width: 100%;
|
|
143
|
-
color: inherit;
|
|
144
|
-
background-color: inherit;
|
|
145
|
-
border: var(--_ui5_step_input_input_border);
|
|
146
|
-
box-sizing: border-box;
|
|
147
|
-
vertical-align: top;
|
|
148
|
-
margin-top: var(--_ui5_step_input_input_margin_top);
|
|
149
|
-
min-width: var(--_ui5_step_input_min_width);
|
|
150
|
-
padding-inline-start: var(--_ui5_step_input_padding);
|
|
151
|
-
padding-inline-end: var(--_ui5_step_input_padding);
|
|
152
|
-
position: relative;
|
|
153
|
-
outline: none;
|
|
154
|
-
line-height: inherit;
|
|
155
|
-
letter-spacing: inherit;
|
|
156
|
-
word-spacing: inherit;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
:host .ui5-step-input-input[readonly] {
|
|
160
|
-
padding: 0;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:host .ui5-step-input-input:hover,
|
|
164
|
-
:host .ui5-step-input-input[focused]{
|
|
165
|
-
box-shadow: none;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
:host .ui5-step-input-root {
|
|
169
|
-
line-height: inherit;
|
|
170
|
-
letter-spacing: inherit;
|
|
171
|
-
word-spacing: inherit;
|
|
172
|
-
height: inherit;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
:host .ui5-step-input-input::part(input) {
|
|
176
|
-
white-space: nowrap;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:host .ui5-step-input-input[text-align=left]::part(input) {
|
|
180
|
-
text-align: left;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
:host .ui5-step-input-input[text-align=center]::part(input) {
|
|
184
|
-
text-align: center;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
:host .ui5-step-input-input[text-align=right]::part(input) {
|
|
188
|
-
text-align: right;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
::slotted([slot="valueStateMessage"]) {
|
|
192
|
-
text-align: left;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
:host .ui5-step-icon {
|
|
196
|
-
position: absolute;
|
|
197
|
-
display: var(--_ui5_step_input_button_display);
|
|
198
|
-
height: 2rem;
|
|
199
|
-
height: 100%;
|
|
200
|
-
background-color: var(--_ui5_step_input_button_background_color);
|
|
201
|
-
z-index: 0;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
:host .ui5-step-icon[focused] {
|
|
205
|
-
border: none;
|
|
206
|
-
outline: none;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
:host .ui5-step-icon.ui5-step-dec {
|
|
210
|
-
left: var(--_ui5_step_input_button_left);
|
|
211
|
-
z-index: 1;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
:host .ui5-step-icon.ui5-step-inc {
|
|
215
|
-
right: var(--_ui5_step_input_button_right);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
:host .ui5-step-icon *:not(.ui5-step-input-icon--clickable),
|
|
219
|
-
:host .ui5-step-icon *:not(.ui5-step-input-icon--clickable):active,
|
|
220
|
-
:host .ui5-step-icon *:not(.ui5-step-input-icon--clickable):hover {
|
|
221
|
-
opacity: 0.5;
|
|
222
|
-
background-color: transparent;
|
|
223
|
-
color: var(--sapContent_IconColor);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
:host .ui5-step-icon :not(.ui5-step-input-icon--clickable) *:hover,
|
|
227
|
-
:host .ui5-step-icon :not(.ui5-step-input-icon--clickable) *:active {
|
|
228
|
-
background-color: var(--sapField_Background);
|
|
229
|
-
color: var(--sapContent_IconColor);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
:host .ui5-step-input-input[focused]::after {
|
|
233
|
-
position: absolute;
|
|
234
|
-
content: "";
|
|
235
|
-
border: var(--_ui5_step_input_input_border_focused_after);
|
|
236
|
-
top: var(--_ui5_step_input_input_border_top_bottom_focused_after);
|
|
237
|
-
right: 0px;
|
|
238
|
-
bottom: var(--_ui5_step_input_input_border_top_bottom_focused_after);
|
|
239
|
-
border-radius: var(--_ui5_step_input_input_border_radius_focused_after);
|
|
240
|
-
left: 0px;
|
|
241
|
-
outline: none;
|
|
242
|
-
pointer-events: none;
|
|
243
|
-
z-index: 1;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
:host .ui5-step-input-input[focused] {
|
|
247
|
-
outline: none;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]::after {
|
|
251
|
-
border-color: var(--_ui5_step_input_input_information_border_color_focused_after);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
:host([value-state="Critical"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]::after {
|
|
255
|
-
border-color: var(--_ui5_step_input_input_warning_border_color_focused_after);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
:host([value-state="Positive"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]::after {
|
|
259
|
-
border-color: var(--_ui5_step_input_input_success_border_color_focused_after);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]::after {
|
|
263
|
-
border-color: var(--_ui5_step_input_input_error_border_color_focused_after);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/* Disable spin buttons in Chrome, Safari, Edge, Opera */
|
|
267
|
-
:host .ui5-step-input-input::-webkit-outer-spin-button,
|
|
268
|
-
:host .ui5-step-input-input::-webkit-inner-spin-button {
|
|
269
|
-
-webkit-appearance: none;
|
|
270
|
-
margin: 0;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
:host([disabled]) .ui5-step-icon {
|
|
274
|
-
background-color: var(--_ui5_step_input_disabled_button_background);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
:host([disabled]) .ui5-step-icon [ui5-icon] {
|
|
278
|
-
color: var(--sapField_ReadOnly_BorderColor);
|
|
279
3
|
}
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
line-height: 2.75rem;
|
|
122
122
|
text-align: center;
|
|
123
123
|
vertical-align: top;
|
|
124
|
-
font-family: var(--
|
|
124
|
+
font-family: var(--sapFontBoldFamily);
|
|
125
125
|
font-size: var(--sapFontSize);
|
|
126
126
|
color: var(--sapTextColor);
|
|
127
127
|
border: 0.0625rem solid transparent;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
--_ui5_number_input_error_focused_background: var(--sapField_Focus_Background);
|
|
3
|
+
--_ui5_number_input_button_state_hover_background_color: var(--sapField_Background);
|
|
4
|
+
--_ui5_number_input_error_hover_background: var(--sapField_Background);
|
|
5
|
+
--_ui5_number_input_border_style: 1px solid var(--sapField_BorderColor);
|
|
6
|
+
--_ui5_number_input_border_style_hover: 1px solid var(--sapField_Hover_BorderColor);
|
|
7
|
+
--_ui5_number_input_error_warning_information_border_style: none;
|
|
8
|
+
--_ui5_number_input_after_border_style: var(--_ui5_input_error_warning_border_style);
|
|
9
|
+
--_ui5_number_input_error_background_color: var(--_ui5_input_input_background_color);
|
|
10
|
+
--_ui5_number_input_button_background_color:var(--sapField_Background);
|
|
11
|
+
--_ui5_number_input_input_border: 1px solid transparent;
|
|
12
|
+
--_ui5_number_input_input_margin_top: -0.0625rem;
|
|
13
|
+
--_ui5_number_input_button_display: inline-block;
|
|
14
|
+
--_ui5_number_input_button_left: 0;
|
|
15
|
+
--_ui5_number_input_button_right: 0;
|
|
16
|
+
--_ui5_number_input_input_border_focused_after: var(--_ui5_input_focus_border_width) dotted var(--sapField_Active_BorderColor);
|
|
17
|
+
--_ui5_number_input_input_border_top_bottom_focused_after: 0.0625rem;
|
|
18
|
+
--_ui5_number_input_input_border_bottom_focused_after: 0.0625rem;
|
|
19
|
+
--_ui5_number_input_input_border_top_information_focused_after: 0.0625rem;
|
|
20
|
+
--_ui5_number_input_input_border_bottom_information_focused_after: 0.0625rem;
|
|
21
|
+
--_ui5_number_input_input_border_radius_focused_after: 0;
|
|
22
|
+
--_ui5_number_input_input_information_border_color_focused_after: var(--sapField_BorderColor);
|
|
23
|
+
--_ui5_number_input_input_warning_border_color_focused_after: var(--sapField_BorderColor);
|
|
24
|
+
--_ui5_number_input_input_success_border_color_focused_after: var(--sapField_BorderColor);
|
|
25
|
+
--_ui5_number_input_input_error_border_color_focused_after: var(--sapField_BorderColor);
|
|
26
|
+
--_ui5_number_input_disabled_button_background: var(--sapField_ReadOnly_Background);
|
|
27
|
+
--_ui5_number_input_border_color_hover: var(--sapField_Hover_Background);
|
|
28
|
+
--_ui5_number_input_border_hover: 1px solid var(--sapField_Hover_BorderColor);
|
|
29
|
+
--_ui5_input_input_background_color: var(--sapField_InvalidBackground);
|
|
30
|
+
--_ui5_number_input_padding_with_step_buttons: 2.5rem;
|
|
31
|
+
}
|
|
@@ -350,9 +350,9 @@
|
|
|
350
350
|
/* SplitButton */
|
|
351
351
|
--_ui5_split_button_middle_separator_height: 1.625rem;
|
|
352
352
|
|
|
353
|
-
/* StepInput */
|
|
354
|
-
--
|
|
355
|
-
--
|
|
353
|
+
/* NumberInput / StepInput */
|
|
354
|
+
--_ui5_number_input_min_width: 6rem;
|
|
355
|
+
--_ui5_number_input_padding_with_step_buttons: 2rem;
|
|
356
356
|
|
|
357
357
|
/* Tree */
|
|
358
358
|
--_ui5-tree-indent-step: 0.5rem;
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
@import "./SliderBase-parameters.css";
|
|
57
57
|
@import "./SliderHandle-parameters.css";
|
|
58
58
|
@import "./SliderScale-parameters.css";
|
|
59
|
-
@import "../base/
|
|
59
|
+
@import "../base/NumberInput-parameters.css";
|
|
60
60
|
@import "../base/rtl-parameters.css";
|
|
61
61
|
@import "./sizes-parameters.css";
|