diff --git a/packages/fiori/src/Page.ts b/packages/fiori/src/Page.ts index 84d3f49031c2..3379cd13202a 100644 --- a/packages/fiori/src/Page.ts +++ b/packages/fiori/src/Page.ts @@ -36,26 +36,15 @@ import PageCss from "./generated/themes/Page.css.js"; * that there is enough space for the ui5-page to be rendered. * Note: In order for the ui5-page to be displayed, the parent element should have fixed height. * - *

CSS Shadow Parts

- * - * CSS Shadow Parts allow developers to style elements inside the Shadow DOM. - *
- * The ui5-page exposes the following CSS Shadow Parts: - * - * *

ES6 Module Import

* * import "@ui5/webcomponents-fiori/dist/Page.js"; * * @constructor - * @author SAP SE - * @alias sap.ui.webc.fiori.Page - * @extends sap.ui.webc.base.UI5Element - * @tagname ui5-page + * @extends UI5Element * @since 1.0.0-rc.12 * @public + * @csspart content - Used to style the content section of the component */ @customElement({ tag: "ui5-page", @@ -74,9 +63,7 @@ class Page extends UI5Element { * Note: When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast. *

* - * @type {sap.ui.webc.fiori.types.PageBackgroundDesign} - * @name sap.ui.webc.fiori.Page.prototype.backgroundDesign - * @defaultvalue "Solid" + * @default "Solid" * @public */ @property({ type: PageBackgroundDesign, defaultValue: PageBackgroundDesign.Solid }) @@ -86,9 +73,7 @@ class Page extends UI5Element { * Disables vertical scrolling of page content. * If set to true, there will be no vertical scrolling at all. * - * @type {boolean} - * @name sap.ui.webc.fiori.Page.prototype.disableScrolling - * @defaultvalue false + * @default false * @public */ @property({ type: Boolean }) @@ -98,9 +83,8 @@ class Page extends UI5Element { * Defines if the footer should float over the content. *

* Note: When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page. - * @type {boolean} - * @name sap.ui.webc.fiori.Page.prototype.floatingFooter - * @defaultvalue true + * + * @default true * @public */ @property({ type: Boolean }) @@ -109,9 +93,7 @@ class Page extends UI5Element { /** * Defines the footer visibility. * - * @type {boolean} - * @name sap.ui.webc.fiori.Page.prototype.hideFooter - * @defaultvalue false + * @default false * @public */ @property({ type: Boolean }) @@ -120,7 +102,6 @@ class Page extends UI5Element { /** * Defines the current media query size. * - * @type {string} * @private * @since 1.0.0-rc.15 */ @@ -130,9 +111,6 @@ class Page extends UI5Element { /** * Defines the header HTML Element. * - * @type {sap.ui.webc.fiori.IBar} - * @name sap.ui.webc.fiori.Page.prototype.header - * @slot * @public */ @slot() @@ -141,9 +119,6 @@ class Page extends UI5Element { /** * Defines the content HTML Element. * - * @type {HTMLElement[]} - * @name sap.ui.webc.fiori.Page.prototype.default - * @slot content * @public */ @slot({ type: HTMLElement, "default": true }) @@ -152,9 +127,6 @@ class Page extends UI5Element { /** * Defines the footer HTML Element. * - * @type {sap.ui.webc.fiori.IBar} - * @name sap.ui.webc.fiori.Page.prototype.footer - * @slot * @public */ @slot() diff --git a/packages/fiori/src/types/PageBackgroundDesign.ts b/packages/fiori/src/types/PageBackgroundDesign.ts index fc3f3c5b00c8..5af118968b28 100644 --- a/packages/fiori/src/types/PageBackgroundDesign.ts +++ b/packages/fiori/src/types/PageBackgroundDesign.ts @@ -1,18 +1,13 @@ /** * Available Page Background Design. * - * @readonly - * @enum {string} * @public - * @author SAP SE - * @alias sap.ui.webc.fiori.types.PageBackgroundDesign */ enum PageBackgroundDesign { /** * Page background color when a List is set as the Page content. * - * @type {List} * @public */ List = "List", @@ -20,7 +15,6 @@ enum PageBackgroundDesign { /** * A solid background color dependent on the theme. * - * @type {Solid} * @public */ Solid = "Solid", @@ -28,7 +22,6 @@ enum PageBackgroundDesign { /** * Transparent background for the page. * - * @type {Transparent} * @public */ Transparent = "Transparent",