You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- removes some duplicative docs language for pgoress bar
- adds correct punctuation to CHANGELOG
- passes default value for customWidth in args for progress bar
- uses passive voice in meter documentation
- removes repetitive StaticWhiteDocs story in favor of previous
StaticWhite story
- removes Chromatic snapshot for WithoutLabel progress bar story
Copy file name to clipboardExpand all lines: components/progressbar/stories/meter.stories.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Sizing.parameters = {
71
71
};
72
72
73
73
/**
74
-
* Meter variants can be used to represent semantic values by switching variants as the value changes, from positive, to notice, and then to negative. This kind of variant switching should be handled appropriately within the context of your product so that you’re setting accurate expectations for your users about the semantic meaning.
74
+
* Meter variants can be used to represent semantic values by switching variants as the value changes, from positive, to notice, and then to negative. This kind of variant switching should be handled appropriately within the context of your product so that accurate expectations are set for users about the semantic meaning.
75
75
*
76
76
* By default, the meter has a informative, blue fill to show the value. This can be used to represent a neutral or non-semantic value. The positive variant has a green fill, representing a positive semantic value. The notice variant has an orange fill, and can be used to warn users about a situation that may need to be addressed soon. The negative variant has a red fill, and can be used to warn users about a critical situation that needs their urgent attention.
Copy file name to clipboardExpand all lines: components/progressbar/stories/progressbar.stories.js
+9-23Lines changed: 9 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ export default {
86
86
label: "Loading",
87
87
labelPosition: "top",
88
88
value: 0,
89
+
customWidth: 192,
89
90
isIndeterminate: false,
90
91
showValueLabel: true,
91
92
},
@@ -143,7 +144,7 @@ CustomWidth.parameters = {
143
144
};
144
145
145
146
/**
146
-
* The example below shows a progress bar without its label. Progress bars typically have a label, but in rare cases where context is sufficient and an accessibility expert has reviewed the design, the label could be undefined.
147
+
* The example below shows a progress bar without its label.
147
148
*/
148
149
exportconstWithoutLabel=Template.bind({});
149
150
WithoutLabel.storyName="Without label";
@@ -158,7 +159,7 @@ WithoutLabel.parameters = {
158
159
};
159
160
160
161
/**
161
-
* The example below shows a progress bar without its value label. This value label works in conjunction with the label, and should not be displayed if the label itself is not displayed.
162
+
* The example below shows a progress bar without its value label.
0 commit comments