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
label: "An example of text overflow behavior within the button component. When the button text is too long for the horizontal space available, it wraps to form another line.",
59
-
withStates: false,
60
-
Template,
102
+
Template: ButtonVariantGroup,
103
+
testHeading: "Static black",
104
+
staticColor: "black",
61
105
},
62
106
{
63
-
testHeading: "Text wrapping with UI icon",
107
+
Template: ButtonIconGroup,
108
+
testHeading: "Line wrap",
64
109
customStyles: {
65
110
"max-inline-size": "480px",
66
111
},
67
-
// Uses a UI icon that is smaller than workflow sizing, to test alignment:
68
-
iconName: "Cross100",
69
-
iconSet: "ui",
112
+
iconName: "Edit",
113
+
iconSet: "workflow",
70
114
label: "An example of text overflow behavior within the button component. When the button text is too long for the horizontal space available, it wraps to form another line.",
71
115
withStates: false,
72
-
Template,
73
-
},
74
-
{
75
-
testHeading: "Disable label wrapping",
76
-
customStyles: {
77
-
"max-inline-size": "120px",
78
-
},
79
-
label: "Be a premium member",
80
-
noWrap: true,
81
-
withStates: false,
82
-
Template,
83
116
},
84
117
{
85
-
testHeading: "Disable label wrapping with workflow icon",
118
+
Template: ButtonIconGroup,
119
+
testHeading: "Truncation",
86
120
customStyles: {
87
121
"max-inline-size": "120px",
88
122
},
89
-
iconName: "Star",
123
+
iconName: "Edit",
90
124
iconSet: "workflow",
91
125
label: "Be a premium member",
92
-
withStates: false,
93
126
noWrap: true,
94
-
Template,
95
-
},
96
-
{
97
-
testHeading: "Text wrapping with larger UI icon",
98
-
customStyles: {
99
-
"max-inline-size": "480px",
100
-
},
101
-
// UI icon that is larger than workflow sizing:
102
-
iconName: "ArrowDown600",
103
-
iconSet: "ui",
104
-
label: "An example of text overflow behavior within the button component. When the button text is too long for the horizontal space available, it wraps to form another line.",
0 commit comments