From 1b88a2f7d1eeea74bf561a858c296a1ae942b7bd Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 30 Apr 2024 09:54:48 +0300 Subject: [PATCH] Refactor - Misc section --- components/lib/message/style/MessageStyle.js | 2 +- components/lib/metergroup/MeterGroup.d.ts | 38 ++++++++++--------- components/lib/metergroup/MeterGroup.vue | 2 +- components/lib/metergroup/MeterGroupLabel.vue | 12 +++--- .../lib/metergroup/style/MeterGroupStyle.js | 12 +++--- components/lib/progressbar/ProgressBar.d.ts | 4 ++ components/lib/progressbar/ProgressBar.vue | 2 +- .../lib/progressbar/style/ProgressBarStyle.js | 2 +- .../lib/progressspinner/ProgressSpinner.vue | 2 +- .../style/ProgressSpinnerStyle.js | 2 +- components/lib/tag/Tag.d.ts | 4 +- components/lib/tag/Tag.vue | 2 +- components/lib/tag/style/TagStyle.js | 2 +- 13 files changed, 47 insertions(+), 39 deletions(-) diff --git a/components/lib/message/style/MessageStyle.js b/components/lib/message/style/MessageStyle.js index e8c90e0d7..b59544aeb 100644 --- a/components/lib/message/style/MessageStyle.js +++ b/components/lib/message/style/MessageStyle.js @@ -2,7 +2,7 @@ import BaseStyle from 'primevue/base/style'; const classes = { root: ({ props }) => 'p-message p-component p-message-' + props.severity, - wrapper: 'p-message-content', + content: 'p-message-content', icon: 'p-message-icon', text: 'p-message-text', closeButton: 'p-message-close-button', diff --git a/components/lib/metergroup/MeterGroup.d.ts b/components/lib/metergroup/MeterGroup.d.ts index 08ed74d16..fd6b84f2c 100644 --- a/components/lib/metergroup/MeterGroup.d.ts +++ b/components/lib/metergroup/MeterGroup.d.ts @@ -53,30 +53,34 @@ export interface MeterGroupPassThroughOptions { * Used to pass attributes to the root's DOM element. */ root?: MeterGroupPassThroughOptionType; - /** - * Used to pass attributes to the label list's DOM element. - */ - labellist?: MeterGroupPassThroughOptionType; - /** - * Used to pass attributes to the label list item's DOM element. - */ - labellistitem?: MeterGroupPassThroughOptionType; - /** - * Used to pass attributes to the label list type's DOM element. - */ - labellisttype?: MeterGroupPassThroughOptionType; - /** - * Used to pass attributes to the label's DOM element. - */ - label?: MeterGroupPassThroughOptionType; /** * Used to pass attributes to the meter container's DOM element. */ - metercontainer?: MeterGroupPassThroughOptionType; + meters?: MeterGroupPassThroughOptionType; /** * Used to pass attributes to the meter's DOM element. */ meter?: MeterGroupPassThroughOptionType; + /** + * Used to pass attributes to the label list's DOM element. + */ + labelList?: MeterGroupPassThroughOptionType; + /** + * Used to pass attributes to the label list item's DOM element. + */ + label?: MeterGroupPassThroughOptionType; + /** + * Used to pass attributes to the label icon type's DOM element. + */ + labelIcon?: MeterGroupPassThroughOptionType; + /** + * Used to pass attributes to the label list type's DOM element. + */ + labelMarker?: MeterGroupPassThroughOptionType; + /** + * Used to pass attributes to the label's DOM element. + */ + labelText?: MeterGroupPassThroughOptionType; } /** diff --git a/components/lib/metergroup/MeterGroup.vue b/components/lib/metergroup/MeterGroup.vue index c04e41ac3..5f3f43f7a 100644 --- a/components/lib/metergroup/MeterGroup.vue +++ b/components/lib/metergroup/MeterGroup.vue @@ -4,7 +4,7 @@ -
+