Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/new-cem' into new-cem
Browse files Browse the repository at this point in the history
  • Loading branch information
Nayden Naydenov committed Nov 27, 2023
2 parents 61a24c2 + 531ed44 commit 5f1a3f4
Showing 1 changed file with 11 additions and 28 deletions.
39 changes: 11 additions & 28 deletions packages/main/src/RatingIndicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ type Star = {
* <code>import "@ui5/webcomponents/dist/RatingIndicator.js";</code>
*
* @constructor
* @author SAP SE
* @alias sap.ui.webc.main.RatingIndicator
* @extends sap.ui.webc.base.UI5Element
* @tagname ui5-rating-indicator
* @extends UI5Element
* @public
* @since 1.0.0-rc.8
*/
Expand All @@ -91,7 +88,6 @@ type Star = {
/**
* The event is fired when the value changes.
*
* @event sap.ui.webc.main.RatingIndicator#change
* @public
*/
@event("change")
Expand All @@ -106,19 +102,16 @@ class RatingIndicator extends UI5Element {
* <li>1.3 - 1.7 -> 1.5</li>
* <li>1.8 - 1.9 -> 2</li>
* <ul>
* @type {sap.ui.webc.base.types.Float}
* @name sap.ui.webc.main.RatingIndicator.prototype.value
* @defaultvalue 0
* @default 0
* @public
*/
@property({ validator: Float, defaultValue: 0 })
value!: number;

/**
* The number of displayed rating symbols.
* @type {sap.ui.webc.base.types.Integer}
* @name sap.ui.webc.main.RatingIndicator.prototype.max
* @defaultvalue 5
*
* @default 5
* @public
* @since 1.0.0-rc.15
*/
Expand All @@ -130,9 +123,8 @@ class RatingIndicator extends UI5Element {
*
* <br><br>
* <b>Note:</b> A disabled component is completely noninteractive.
* @type {boolean}
* @name sap.ui.webc.main.RatingIndicator.prototype.disabled
* @defaultvalue false
*
* @default false
* @public
*/
@property({ type: Boolean })
Expand All @@ -144,9 +136,7 @@ class RatingIndicator extends UI5Element {
* <b>Note:</b> A read-only component is not editable,
* but still provides visual feedback upon user interaction.
*
* @type {boolean}
* @name sap.ui.webc.main.RatingIndicator.prototype.readonly
* @defaultvalue false
* @default false
* @public
*/
@property({ type: Boolean })
Expand All @@ -155,8 +145,7 @@ class RatingIndicator extends UI5Element {
/**
* Defines the accessible ARIA name of the component.
*
* @type {string}
* @name sap.ui.webc.main.RatingIndicator.prototype.accessibleName
* @default ""
* @public
* @since 1.0.0-rc.15
*/
Expand All @@ -166,9 +155,7 @@ class RatingIndicator extends UI5Element {
/**
* Receives id(or many ids) of the elements that label the component.
*
* @type {string}
* @name sap.ui.webc.main.RatingIndicator.prototype.accessibleNameRef
* @defaultvalue ""
* @default ""
* @public
* @since 1.15.0
*/
Expand All @@ -178,9 +165,7 @@ class RatingIndicator extends UI5Element {
/**
* Defines whether the component is required.
*
* @type {boolean}
* @name sap.ui.webc.main.RatingIndicator.prototype.required
* @defaultvalue false
* @default false
* @public
* @since 1.15.0
*/
Expand All @@ -190,9 +175,7 @@ class RatingIndicator extends UI5Element {
/**
* Defines the tooltip of the component.
*
* @type {string}
* @name sap.ui.webc.main.RatingIndicator.prototype.tooltip
* @defaultvalue ""
* @default ""
* @public
* @since 1.19.0
*/
Expand Down

0 comments on commit 5f1a3f4

Please sign in to comment.