@ui5/webcomponents 1.10.3 → 1.10.4
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 +13 -0
- package/dist/RangeSlider.js +26 -12
- package/dist/RangeSlider.js.map +1 -1
- package/dist/SegmentedButton.js +2 -2
- package/dist/SliderBase.d.ts +0 -20
- package/dist/SliderBase.js +0 -20
- package/dist/SliderBase.js.map +1 -1
- package/dist/assets/test/pages/{ComboBox.html.8121bf92.js → ComboBox.html.a0eeb455.js} +1 -1
- package/dist/assets/test/pages/{Icon.html.524ab8d6.js → Icon.html.86f23f1d.js} +1 -1
- package/dist/assets/test/pages/{Label.html.c977ecf7.js → Label.html.8c15f5db.js} +1 -1
- package/dist/assets/test/pages/{Popups.html.feea3a17.js → Popups.html.635cc5de.js} +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/test/pages/72override.html +1 -1
- package/dist/test/pages/AnimanitionOff.html +1 -1
- package/dist/test/pages/Avatar.html +1 -1
- package/dist/test/pages/AvatarGroup.html +1 -1
- package/dist/test/pages/Badge.html +1 -1
- package/dist/test/pages/Breadcrumbs.html +1 -1
- package/dist/test/pages/BusyIndicator.html +1 -1
- package/dist/test/pages/Button.html +14 -10
- package/dist/test/pages/Calendar.html +1 -1
- package/dist/test/pages/Card.html +1 -1
- package/dist/test/pages/Carousel.html +1 -1
- package/dist/test/pages/CheckBox.html +1 -1
- package/dist/test/pages/ColorPalette.html +1 -1
- package/dist/test/pages/ColorPalettePopover.html +1 -1
- package/dist/test/pages/ColorPicker.html +1 -1
- package/dist/test/pages/ComboBox.html +2 -2
- package/dist/test/pages/Components.html +1 -1
- package/dist/test/pages/CoreControls.html +1 -1
- package/dist/test/pages/CoreControls_exp.html +1 -1
- package/dist/test/pages/CustomCSS.html +1 -1
- package/dist/test/pages/DatePicker.html +1 -1
- package/dist/test/pages/DatePicker_test_page.html +1 -1
- package/dist/test/pages/DateRangePicker.html +1 -1
- package/dist/test/pages/DateTimePicker.html +1 -1
- package/dist/test/pages/DayPicker.html +1 -1
- package/dist/test/pages/Dialog.html +1 -1
- package/dist/test/pages/DialogLifecycle.html +1 -1
- package/dist/test/pages/DialogSemantic.html +1 -1
- package/dist/test/pages/DurationPicker.html +1 -1
- package/dist/test/pages/Eventing.html +1 -1
- package/dist/test/pages/FileUploader.html +1 -1
- package/dist/test/pages/FormSupport.html +1 -1
- package/dist/test/pages/HCB.html +1 -1
- package/dist/test/pages/Icon.html +2 -2
- package/dist/test/pages/Icon_custom.html +1 -1
- package/dist/test/pages/Input.html +1 -1
- package/dist/test/pages/InputFieldMinWidth.html +1 -1
- package/dist/test/pages/InputIcons.html +1 -1
- package/dist/test/pages/Input_quickview.html +1 -1
- package/dist/test/pages/InputsAlignment.html +1 -1
- package/dist/test/pages/InputsLazyLoading.html +1 -1
- package/dist/test/pages/ItemNavigation.html +1 -1
- package/dist/test/pages/Kitchen.html +1 -1
- package/dist/test/pages/Kitchen.openui5.html +1 -1
- package/dist/test/pages/Label.html +2 -2
- package/dist/test/pages/Link.html +1 -1
- package/dist/test/pages/List.html +1 -1
- package/dist/test/pages/ListGrowing_Button.html +1 -1
- package/dist/test/pages/ListGrowing_Scroll.html +1 -1
- package/dist/test/pages/List_keyboard_support.html +1 -1
- package/dist/test/pages/List_test_page.html +1 -1
- package/dist/test/pages/LitKeyFunction.html +1 -1
- package/dist/test/pages/MemoryLeak.html +1 -1
- package/dist/test/pages/Menu.html +1 -1
- package/dist/test/pages/MessagePage.html +1 -1
- package/dist/test/pages/MessageStrip.html +1 -1
- package/dist/test/pages/MultiComboBox.html +1 -1
- package/dist/test/pages/MultiInput.html +1 -1
- package/dist/test/pages/MultiInput_Suggestions.html +1 -1
- package/dist/test/pages/OpenUI5.html +1 -1
- package/dist/test/pages/Panel.html +1 -1
- package/dist/test/pages/Popover.html +1 -1
- package/dist/test/pages/PopoverArrowBounds.html +1 -1
- package/dist/test/pages/Popups.html +2 -2
- package/dist/test/pages/ProgressIndicator.html +1 -1
- package/dist/test/pages/RTL.html +1 -1
- package/dist/test/pages/RadioButton.html +1 -1
- package/dist/test/pages/RangeSlider.html +13 -2
- package/dist/test/pages/RatingIndicator.html +1 -1
- package/dist/test/pages/ResizeHandler.html +1 -1
- package/dist/test/pages/ResponsivePopover.html +1 -1
- package/dist/test/pages/SegmentedButton.html +1 -1
- package/dist/test/pages/Select.html +1 -1
- package/dist/test/pages/Simple.html +1 -1
- package/dist/test/pages/Slider.html +1 -1
- package/dist/test/pages/SplitButton.html +1 -1
- package/dist/test/pages/StepInput.html +1 -1
- package/dist/test/pages/Switch.html +1 -1
- package/dist/test/pages/TabContainer.html +1 -1
- package/dist/test/pages/Table-perf-pure.html +1 -1
- package/dist/test/pages/Table-perf.html +1 -1
- package/dist/test/pages/Table.html +1 -1
- package/dist/test/pages/Table2.html +1 -1
- package/dist/test/pages/TableAllPopin.html +1 -1
- package/dist/test/pages/TableCustomStyling.html +1 -1
- package/dist/test/pages/TableGrouping.html +1 -1
- package/dist/test/pages/TableGrowingWithButton.html +1 -1
- package/dist/test/pages/TableGrowingWithScroll.html +1 -1
- package/dist/test/pages/TableSelection.html +1 -1
- package/dist/test/pages/TextArea.html +1 -1
- package/dist/test/pages/TimePicker.html +1 -1
- package/dist/test/pages/TimeSelection.html +1 -1
- package/dist/test/pages/Title.html +1 -1
- package/dist/test/pages/Toast.html +1 -1
- package/dist/test/pages/ToggleButton.html +1 -1
- package/dist/test/pages/Tree.html +1 -1
- package/dist/test/pages/WheelSlider_Test_Page.html +1 -1
- package/dist/test/pages/base/DOMObserver.html +1 -1
- package/dist/test/pages/base/InvisibleMessage.html +1 -1
- package/dist/test/pages/form.html +1 -1
- package/dist/test/pages/i18n-defaultLang.html +1 -1
- package/dist/test/pages/i18n-demo.html +1 -1
- package/package.json +7 -7
- package/src/RangeSlider.ts +33 -17
- package/src/SegmentedButton.js +2 -2
- package/src/SliderBase.ts +0 -20
- package/src/themes/Button.css +3 -0
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<script>// delete Document.prototype.adoptedStyleSheets;</script>
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
24
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
25
25
|
<link rel="stylesheet" href="/assets/test/pages/RangeSlider.html.437a9174.css">
|
|
26
26
|
</head>
|
|
27
27
|
|
|
@@ -58,7 +58,14 @@
|
|
|
58
58
|
<span>endValue in the change event: </span>
|
|
59
59
|
<span id="change-event-endValue"></span>
|
|
60
60
|
</div>
|
|
61
|
-
|
|
61
|
+
<div>
|
|
62
|
+
<span>startValue in the input event: </span>
|
|
63
|
+
<span id="input-event-startValue"></span>
|
|
64
|
+
</div>
|
|
65
|
+
<div>
|
|
66
|
+
<span>endValue in the input event: </span>
|
|
67
|
+
<span id="input-event-endValue"></span>
|
|
68
|
+
</div>
|
|
62
69
|
<h2>Event Testing Result Slider</h2>
|
|
63
70
|
<ui5-range-slider id="test-result-slider" start-value="1" end-value="2"></ui5-range-slider>
|
|
64
71
|
</section>
|
|
@@ -78,7 +85,11 @@
|
|
|
78
85
|
eventTargetSlider.addEventListener("ui5-change", (e) => {
|
|
79
86
|
document.getElementById("change-event-startValue").innerText = e.target.startValue;
|
|
80
87
|
document.getElementById("change-event-endValue").innerText = e.target.endValue;
|
|
88
|
+
});
|
|
81
89
|
|
|
90
|
+
eventTargetSlider.addEventListener("ui5-input", (e) => {
|
|
91
|
+
document.getElementById("input-event-startValue").innerText = e.target.startValue;
|
|
92
|
+
document.getElementById("input-event-endValue").innerText = e.target.endValue;
|
|
82
93
|
});
|
|
83
94
|
</script>
|
|
84
95
|
</body>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
18
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
19
19
|
<link rel="stylesheet" href="/assets/test/pages/RatingIndicator.html.737cd73b.css">
|
|
20
20
|
</head>
|
|
21
21
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
23
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
24
24
|
<link rel="stylesheet" href="/assets/test/pages/ResizeHandler.html.ed7c5d20.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
13
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/assets/test/pages/ResponsivePopover.html.6f67ae07.css">
|
|
15
15
|
</head>
|
|
16
16
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<script>// delete Document.prototype.adoptedStyleSheets;</script>
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
17
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
18
18
|
<link rel="stylesheet" href="/assets/test/pages/SegmentedButton.html.8678479b.css">
|
|
19
19
|
</head>
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
17
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
18
18
|
<link rel="stylesheet" href="/assets/test/pages/Select.html.9c98a470.css">
|
|
19
19
|
</head>
|
|
20
20
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
16
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
17
17
|
<link rel="stylesheet" href="/assets/test/pages/Simple.html.8f2ddb30.css">
|
|
18
18
|
</head>
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
24
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
25
25
|
<link rel="stylesheet" href="/assets/test/pages/Slider.html.8ea10965.css">
|
|
26
26
|
</head>
|
|
27
27
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
15
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
16
16
|
<link rel="stylesheet" href="/assets/test/pages/SplitButton.html.5c992973.css">
|
|
17
17
|
</head>
|
|
18
18
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
26
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
27
27
|
<link rel="stylesheet" href="/assets/test/pages/StepInput.html.f22c112d.css">
|
|
28
28
|
</head>
|
|
29
29
|
<body class="stepinput1auto">
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
<script>// delete Document.prototype.adoptedStyleSheets</script>
|
|
14
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
14
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
15
15
|
<link rel="stylesheet" href="/assets/test/pages/Switch.html.a4f3262f.css">
|
|
16
16
|
</head>
|
|
17
17
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
17
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
18
18
|
<link rel="stylesheet" href="/assets/test/pages/TabContainer.html.7f2ade15.css">
|
|
19
19
|
</head>
|
|
20
20
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
23
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
24
24
|
<link rel="stylesheet" href="/assets/test/pages/Table-perf-pure.html.fce52e4b.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
23
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
24
24
|
<link rel="stylesheet" href="/assets/test/pages/Table-perf.html.88634378.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
22
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
23
23
|
<link rel="stylesheet" href="/assets/test/pages/Table.html.c43386f4.css">
|
|
24
24
|
</head>
|
|
25
25
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
19
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
20
20
|
<link rel="stylesheet" href="/assets/test/pages/Table2.html.aca0c111.css">
|
|
21
21
|
</head>
|
|
22
22
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
23
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
24
24
|
<link rel="stylesheet" href="/assets/test/pages/TableAllPopin.html.ad586de4.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
22
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
23
23
|
<link rel="stylesheet" href="/assets/test/pages/TableCustomStyling.html.a85167d6.css">
|
|
24
24
|
</head>
|
|
25
25
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
19
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
20
20
|
<link rel="stylesheet" href="/assets/test/pages/TableGrouping.html.602ae2ad.css">
|
|
21
21
|
</head>
|
|
22
22
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
13
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/assets/test/pages/TableGrowingWithButton.html.5a39b2bf.css">
|
|
15
15
|
</head>
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
13
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/assets/test/pages/TableGrowingWithScroll.html.8ef93d31.css">
|
|
15
15
|
</head>
|
|
16
16
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
19
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
20
20
|
<link rel="stylesheet" href="/assets/test/pages/TableSelection.html.dba2d678.css">
|
|
21
21
|
</head>
|
|
22
22
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
26
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
27
27
|
<link rel="stylesheet" href="/assets/test/pages/TextArea.html.f8e10fd6.css">
|
|
28
28
|
</head>
|
|
29
29
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
16
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
17
17
|
<link rel="stylesheet" href="/assets/test/pages/TimePicker.html.9a4bb300.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body class="timepicker1auto">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
16
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
17
17
|
<link rel="stylesheet" href="/assets/test/pages/TimeSelection.html.8ad57759.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body class="timeselection1auto">
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
15
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
16
16
|
<link rel="stylesheet" href="/assets/test/pages/Title.html.7bb51811.css">
|
|
17
17
|
</head>
|
|
18
18
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<script>// delete Document.prototype.adoptedStyleSheets;</script>
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
14
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
15
15
|
<link rel="stylesheet" href="/assets/test/pages/Toast.html.47a93be2.css">
|
|
16
16
|
</head>
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
26
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
27
27
|
<link rel="stylesheet" href="/assets/test/pages/ToggleButton.html.3b7dbb8c.css">
|
|
28
28
|
</head>
|
|
29
29
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
24
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
25
25
|
<link rel="stylesheet" href="/assets/test/pages/Tree.html.74fe2a1d.css">
|
|
26
26
|
</head>
|
|
27
27
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="></script>
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
20
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
21
21
|
<link rel="stylesheet" href="/assets/test/pages/WheelSlider_Test_Page.html.8a9a5e49.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body class="wheelslider_test_page1auto">
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<title>InvisibleMessage</title>
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
10
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
11
11
|
</head>
|
|
12
12
|
|
|
13
13
|
<body style="background-color: var(--sapBackgroundColor);">
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
14
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
15
15
|
<link rel="stylesheet" href="/assets/test/pages/form.html.f0f82118.css">
|
|
16
16
|
</head>
|
|
17
17
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
20
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
21
21
|
<link rel="stylesheet" href="/assets/test/pages/i18n-defaultLang.html.b9d79c6b.css">
|
|
22
22
|
</head>
|
|
23
23
|
<body class="i18n-defaultlang1auto">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
<script>// delete Document.prototype.adoptedStyleSheets;</script>
|
|
15
15
|
|
|
16
|
-
<script type="module" crossorigin src="/assets/bundle.common.
|
|
16
|
+
<script type="module" crossorigin src="/assets/bundle.common.e67c4775.js"></script>
|
|
17
17
|
<link rel="stylesheet" href="/assets/test/pages/i18n-demo.html.c6751b5c.css">
|
|
18
18
|
</head>
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.main",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"directory": "packages/main"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ui5/webcomponents-base": "1.10.
|
|
46
|
-
"@ui5/webcomponents-icons": "1.10.
|
|
47
|
-
"@ui5/webcomponents-localization": "1.10.
|
|
48
|
-
"@ui5/webcomponents-theming": "1.10.
|
|
45
|
+
"@ui5/webcomponents-base": "1.10.4",
|
|
46
|
+
"@ui5/webcomponents-icons": "1.10.4",
|
|
47
|
+
"@ui5/webcomponents-localization": "1.10.4",
|
|
48
|
+
"@ui5/webcomponents-theming": "1.10.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@ui5/webcomponents-tools": "1.10.
|
|
51
|
+
"@ui5/webcomponents-tools": "1.10.4",
|
|
52
52
|
"chromedriver": "109.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b0199fba2d74d8f75ffcdd0846a848892d646732"
|
|
55
55
|
}
|
package/src/RangeSlider.ts
CHANGED
|
@@ -217,6 +217,14 @@ class RangeSlider extends SliderBase {
|
|
|
217
217
|
*
|
|
218
218
|
*/
|
|
219
219
|
onBeforeRendering() {
|
|
220
|
+
if (this.startValue > this.endValue) {
|
|
221
|
+
const affectedValue = this._valueAffected === "startValue" ? "endValue" : "startValue";
|
|
222
|
+
|
|
223
|
+
this._swapValues();
|
|
224
|
+
this._setAffectedValue(affectedValue);
|
|
225
|
+
this.update(affectedValue, this.startValue, this.endValue);
|
|
226
|
+
}
|
|
227
|
+
|
|
220
228
|
if (!this.isCurrentStateOutdated()) {
|
|
221
229
|
return;
|
|
222
230
|
}
|
|
@@ -311,12 +319,20 @@ class RangeSlider extends SliderBase {
|
|
|
311
319
|
*/
|
|
312
320
|
_onkeyup() {
|
|
313
321
|
super._onkeyup();
|
|
314
|
-
|
|
315
|
-
this._swapValues();
|
|
316
322
|
this._setAffectedValue(undefined);
|
|
323
|
+
|
|
324
|
+
if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
|
|
325
|
+
this.fireEvent("change");
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
this._startValueAtBeginningOfAction = undefined;
|
|
329
|
+
this._endValueAtBeginningOfAction = undefined;
|
|
317
330
|
}
|
|
318
331
|
|
|
319
332
|
_handleActionKeyPress(e: KeyboardEvent) {
|
|
333
|
+
this._startValueAtBeginningOfAction = this.startValue;
|
|
334
|
+
this._endValueAtBeginningOfAction = this.endValue;
|
|
335
|
+
|
|
320
336
|
if (isEscape(e)) {
|
|
321
337
|
this.update(undefined, this._startValueInitial, this._endValueInitial);
|
|
322
338
|
return;
|
|
@@ -411,7 +427,7 @@ class RangeSlider extends SliderBase {
|
|
|
411
427
|
this.updateStateStorageAndFireInputEvent("endValue");
|
|
412
428
|
this._updateHandlesAndRange(0);
|
|
413
429
|
} else {
|
|
414
|
-
const newValue = startValue;
|
|
430
|
+
const newValue = endValue && affectedValue === "endValue" ? endValue : startValue;
|
|
415
431
|
this._updateHandlesAndRange(newValue || 0);
|
|
416
432
|
|
|
417
433
|
if (affectedValue === "startValue") {
|
|
@@ -535,21 +551,19 @@ class RangeSlider extends SliderBase {
|
|
|
535
551
|
}
|
|
536
552
|
|
|
537
553
|
_handleUp() {
|
|
538
|
-
this._swapValues();
|
|
539
554
|
this._setAffectedValueByFocusedElement();
|
|
540
555
|
this._setAffectedValue(undefined);
|
|
541
556
|
|
|
542
|
-
this._startValueAtBeginningOfAction
|
|
543
|
-
|
|
544
|
-
|
|
557
|
+
if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
|
|
558
|
+
this.fireEvent("change");
|
|
559
|
+
}
|
|
545
560
|
|
|
561
|
+
this._setIsPressInCurrentRange(false);
|
|
546
562
|
this.handleUpBase();
|
|
547
563
|
|
|
548
564
|
this.rangePressed = false;
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
this.fireEvent("change");
|
|
552
|
-
}
|
|
565
|
+
this._startValueAtBeginningOfAction = undefined;
|
|
566
|
+
this._endValueAtBeginningOfAction = undefined;
|
|
553
567
|
}
|
|
554
568
|
|
|
555
569
|
/**
|
|
@@ -784,24 +798,26 @@ class RangeSlider extends SliderBase {
|
|
|
784
798
|
*/
|
|
785
799
|
_swapValues() {
|
|
786
800
|
const affectedValue = this._valueAffected;
|
|
801
|
+
if (!affectedValue) {
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
787
804
|
|
|
788
805
|
if (affectedValue === "startValue" && this.startValue > this.endValue) {
|
|
789
806
|
const prevEndValue = this.endValue;
|
|
790
807
|
this.endValue = this.startValue;
|
|
791
808
|
this.startValue = prevEndValue;
|
|
792
|
-
|
|
793
|
-
this._setValuesAreReversed();
|
|
794
|
-
this.focusInnerElement();
|
|
795
809
|
}
|
|
796
810
|
|
|
797
811
|
if (affectedValue === "endValue" && this.endValue < this.startValue) {
|
|
798
812
|
const prevStartValue = this.startValue;
|
|
799
813
|
this.startValue = this.endValue;
|
|
800
814
|
this.endValue = prevStartValue;
|
|
801
|
-
|
|
802
|
-
this._setValuesAreReversed();
|
|
803
|
-
this.focusInnerElement();
|
|
804
815
|
}
|
|
816
|
+
|
|
817
|
+
this._setValuesAreReversed();
|
|
818
|
+
this._updateHandlesAndRange(this[affectedValue]);
|
|
819
|
+
this.focusInnerElement();
|
|
820
|
+
this.syncUIAndState();
|
|
805
821
|
}
|
|
806
822
|
|
|
807
823
|
/**
|
package/src/SegmentedButton.js
CHANGED
|
@@ -189,7 +189,7 @@ class SegmentedButton extends UI5Element {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
_selectItem(event) {
|
|
192
|
-
const isTargetSegmentedButtonItem = event.target.
|
|
192
|
+
const isTargetSegmentedButtonItem = event.target.hasAttribute("ui5-segmented-button-item");
|
|
193
193
|
|
|
194
194
|
if (event.target.disabled || event.target === this.getDomRef() || !isTargetSegmentedButtonItem) {
|
|
195
195
|
return;
|
|
@@ -233,7 +233,7 @@ class SegmentedButton extends UI5Element {
|
|
|
233
233
|
|
|
234
234
|
_onmousedown(event) {
|
|
235
235
|
const eventTarget = event.target;
|
|
236
|
-
const isTargetSegmentedButtonItem = eventTarget.
|
|
236
|
+
const isTargetSegmentedButtonItem = eventTarget.hasAttribute("ui5-segmented-button-item");
|
|
237
237
|
|
|
238
238
|
if (isTargetSegmentedButtonItem) {
|
|
239
239
|
eventTarget.focus();
|
package/src/SliderBase.ts
CHANGED
|
@@ -331,26 +331,6 @@ class SliderBase extends UI5Element {
|
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
333
|
* Prevent focus out when inner element within the component is currently being in process of focusing in.
|
|
334
|
-
* In theory this can be achieved either if the shadow root is focusable and 'delegatesFocus' attribute of
|
|
335
|
-
* the .attachShadow() customElement method is set to true, or if we forward it manually.
|
|
336
|
-
|
|
337
|
-
* As we use lit-element as base of our core UI5 element class that 'delegatesFocus' property is not set to 'true' and
|
|
338
|
-
* we have to manage the focus here. If at some point in the future this changes, the focus delegating logic could be
|
|
339
|
-
* removed as it will become redundant.
|
|
340
|
-
*
|
|
341
|
-
* When we manually set the focus on mouseDown to the first focusable element inside the shadowDom,
|
|
342
|
-
* that inner focus (shadowRoot.activeElement) is set a moment before the global document.activeElement
|
|
343
|
-
* is set to the customElement (ui5-slider) causing a 'race condition'.
|
|
344
|
-
*
|
|
345
|
-
* In order for a element within the shadowRoot to be focused, the global document.activeElement MUST be the parent
|
|
346
|
-
* customElement of the shadow root, in our case the ui5-slider component. Because of that after our focusin of the handle,
|
|
347
|
-
* a focusout event fired by the browser immidiatly after, resetting the focus. Focus out must be manually prevented
|
|
348
|
-
* in both initial focusing and switching the focus between inner elements of the component cases.
|
|
349
|
-
|
|
350
|
-
* Note: If we set the focus to the handle with a timeout or a bit later in time, on a mouseup or click event it will
|
|
351
|
-
* work fine and we will avoid the described race condition as our host customElement will be already finished focusing.
|
|
352
|
-
* However, that does not work for us as we need the focus to be set to the handle exactly on mousedown,
|
|
353
|
-
* because of the nature of the component and its available drag interactions.
|
|
354
334
|
*
|
|
355
335
|
* @private
|
|
356
336
|
*/
|
package/src/themes/Button.css
CHANGED
|
@@ -106,6 +106,9 @@
|
|
|
106
106
|
/* calculating the minimum width by removing the icon size */
|
|
107
107
|
min-width: calc(var(--_ui5_button_base_min_width) - var(--_ui5_button_base_icon_margin) - 1rem);
|
|
108
108
|
}
|
|
109
|
+
:host([disabled]:active) {
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
}
|
|
109
112
|
|
|
110
113
|
:host([focused]) .ui5-button-root:after {
|
|
111
114
|
content: "";
|