Skip to content

Commit 8801e55

Browse files
authored
refactor(ui5-duration-picker): make component private (#3530)
DurationPicker is now private component and will remain private until we refactor its API. It's a component that does not an equivalent in OpenUI5 and the required specs. BREAKING CHANGE: DurationPicker is no longer supported, it may continue working, but it's not guarantee
1 parent 345dc5b commit 8801e55

File tree

3 files changed

+2
-60
lines changed

3 files changed

+2
-60
lines changed

docs/Public Module Imports.md

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ For API documentation and samples, please check the [UI5 Web Components Playgrou
3838
| Date Range Picker | `ui5-daterange-picker` | `import "@ui5/webcomponents/dist/DateRangePicker.js";` |
3939
| Date Time Picker | `ui5-datetime-picker` | `import "@ui5/webcomponents/dist/DateTimePicker.js";` |
4040
| Dialog | `ui5-dialog` | `import "@ui5/webcomponents/dist/Dialog.js";` |
41-
| Duration Picker | `ui5-duration-picker` | `import "@ui5/webcomponents/dist/DurationPicker.js";` |
4241
| File Uploader | `ui5-file-uploader` | `import "@ui5/webcomponents/dist/FileUploader.js";` |
4342
| Icon | `ui5-icon` | `import "@ui5/webcomponents/dist/Icon.js";` |
4443
| Input | `ui5-input` | `import "@ui5/webcomponents/dist/Input.js";` |

packages/main/src/DurationPicker.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "./generated/i18n/i18n-defaults.js";
88

99
/**
10-
* @public
10+
* @private
1111
*/
1212
const metadata = {
1313
tag: "ui5-duration-picker",
@@ -164,7 +164,7 @@ const pad = number => {
164164
* @alias sap.ui.webcomponents.main.DurationPicker
165165
* @extends TimePickerBase
166166
* @tagname ui5-duration-picker
167-
* @public
167+
* @private
168168
*/
169169
class DurationPicker extends TimePickerBase {
170170
static get metadata() {

packages/main/test/samples/DurationPicker.sample.html

-57
This file was deleted.

0 commit comments

Comments
 (0)