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
Copy file name to clipboardExpand all lines: components/swatch/stories/swatch.stories.js
+5-5
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,14 @@ export default {
31
31
rounding: {
32
32
name: "Rounding",
33
33
description: "The amount of corner rounding for a swatch.",
34
-
defaultValue: "regular",
34
+
defaultValue: "partial",
35
35
type: {name: "string"},
36
36
table: {
37
37
type: {summary: "string",required: true},
38
38
category: "Component",
39
-
defaultValue: {summary: "regular",},
39
+
defaultValue: {summary: "partial",},
40
40
},
41
-
options: ["regular","partial","full"],
41
+
options: ["partial","none","full"],
42
42
control: "select",
43
43
},
44
44
isDisabled,
@@ -111,7 +111,7 @@ export default {
111
111
isDisabled: false,
112
112
isHovered: false,
113
113
isKeyboardFocused: false,
114
-
rounding: "regular",
114
+
rounding: "partial",
115
115
swatchColor: "rgb(174, 216, 230)",
116
116
borderStyle: "default",
117
117
shape: "square",
@@ -165,7 +165,7 @@ Disabled.parameters = {
165
165
};
166
166
167
167
/**
168
-
* Full rounding is usually used when a swatch is presented by itself near other components.
168
+
* Default rounding and full rounding are usually used when a swatch is presented by itself near other components. A rounding of “none” is used in a swatch group to help minimize the Hermann grid illusion that happens at the intersections of white space in the group.
0 commit comments