42
42
< section >
43
43
< h3 > Basic Button</ h3 >
44
44
< div class ="snippet ">
45
- < ui5-button class ="samples-margin " type ="Default "> Enabled</ ui5-button >
45
+ < ui5-button class ="samples-margin " design ="Default "> Enabled</ ui5-button >
46
46
< ui5-button class ="samples-margin " disabled > Disabled</ ui5-button >
47
- < ui5-button class ="samples-margin " type ="Transparent "> Cancel</ ui5-button >
48
- < ui5-button class ="samples-margin " type ="Positive " icon-end > Approve</ ui5-button >
49
- < ui5-button class ="samples-margin "type ="Negative "> Decline</ ui5-button >
50
- < ui5-button class ="samples-margin " type ="Emphasized "> Subscribe</ ui5-button >
47
+ < ui5-button class ="samples-margin " design ="Transparent "> Cancel</ ui5-button >
48
+ < ui5-button class ="samples-margin " design ="Positive " icon-end > Approve</ ui5-button >
49
+ < ui5-button class ="samples-margin "design ="Negative "> Decline</ ui5-button >
50
+ < ui5-button class ="samples-margin " design ="Emphasized "> Subscribe</ ui5-button >
51
51
</ div >
52
52
< pre class ="prettyprint lang-html "> < xmp >
53
- < ui5-button type ="Default "> Enabled</ ui5-button >
53
+ < ui5-button design ="Default "> Enabled</ ui5-button >
54
54
< ui5-button disabled > Disabled</ ui5-button >
55
- < ui5-button type ="Transparent "> Cancel</ ui5-button >
56
- < ui5-button type ="Positive " icon-end > Approve</ ui5-button >
57
- < ui5-button type ="Negative "> Decline</ ui5-button >
58
- < ui5-button type ="Emphasized "> Subscribe</ ui5-button >
55
+ < ui5-button design ="Transparent "> Cancel</ ui5-button >
56
+ < ui5-button design ="Positive " icon-end > Approve</ ui5-button >
57
+ < ui5-button design ="Negative "> Decline</ ui5-button >
58
+ < ui5-button design ="Emphasized "> Subscribe</ ui5-button >
59
59
</ xmp > </ pre >
60
60
</ section >
61
61
@@ -65,17 +65,17 @@ <h3>Button with Icon</h3>
65
65
< ui5-button class ="samples-margin " icon ="sap-icon://employee "> Add</ ui5-button >
66
66
< ui5-button class ="samples-margin " icon ="sap-icon://download " icon-end > Download</ ui5-button >
67
67
< ui5-button class ="samples-margin " icon ="sap-icon://download "> Active Icon</ ui5-button >
68
- < ui5-button class ="samples-margin " type ="Positive " icon ="sap-icon://add "> Add</ ui5-button >
69
- < ui5-button class ="samples-margin " type ="Negative " icon ="sap-icon://delete "> Remove</ ui5-button >
70
- < ui5-button class ="samples-margin " type ="Transparent " icon ="sap-icon://accept "> Accept</ ui5-button >
68
+ < ui5-button class ="samples-margin " design ="Positive " icon ="sap-icon://add "> Add</ ui5-button >
69
+ < ui5-button class ="samples-margin " design ="Negative " icon ="sap-icon://delete "> Remove</ ui5-button >
70
+ < ui5-button class ="samples-margin " design ="Transparent " icon ="sap-icon://accept "> Accept</ ui5-button >
71
71
</ div >
72
72
< pre class ="prettyprint lang-html "> < xmp >
73
73
< ui5-button icon ="sap-icon://employee "> Add</ ui5-button >
74
74
< ui5-button icon ="sap-icon://download " icon-end > Download</ ui5-button >
75
75
< ui5-button icon ="sap-icon://download "> Active Icon</ ui5-button >
76
- < ui5-button type ="Positive " icon ="sap-icon://add "> Add</ ui5-button >
77
- < ui5-button type ="Negative " icon ="sap-icon://delete "> Remove</ ui5-button >
78
- < ui5-button type ="Transparent " icon ="sap-icon://accept "> Transparent</ ui5-button >
76
+ < ui5-button design ="Positive " icon ="sap-icon://add "> Add</ ui5-button >
77
+ < ui5-button design ="Negative " icon ="sap-icon://delete "> Remove</ ui5-button >
78
+ < ui5-button design ="Transparent " icon ="sap-icon://accept "> Transparent</ ui5-button >
79
79
</ xmp > </ pre >
80
80
</ section >
81
81
@@ -97,43 +97,43 @@ <h3>Icon Only Button</h3>
97
97
< ui5-button class ="samples-margin " icon ="sap-icon://action-settings " aria-labelledby ="lblSettings " > </ ui5-button >
98
98
< ui5-button class ="samples-margin " icon ="sap-icon://add " aria-labelledby ="lblAdd "> </ ui5-button >
99
99
< ui5-button class ="samples-margin " icon ="sap-icon://alert " aria-labelledby ="lblAlert "> </ ui5-button >
100
- < ui5-button class ="samples-margin " icon ="sap-icon://accept " type ="Positive " aria-labelledby ="lblAccept "> </ ui5-button >
101
- < ui5-button class ="samples-margin " icon ="sap-icon://bookmark " type ="Positive " aria-labelledby ="lblBookmark "> </ ui5-button >
102
- < ui5-button class ="samples-margin " icon ="sap-icon://cancel " type ="Negative " aria-labelledby ="lblCancel " > </ ui5-button >
103
- < ui5-button class ="samples-margin " icon ="sap-icon://call " type ="Negative " aria-labelledby ="lblCall " > </ ui5-button >
104
- < ui5-button class ="samples-margin " icon ="sap-icon://camera " type ="Transparent " aria-labelledby ="lblCamera "> </ ui5-button >
105
- < ui5-button class ="samples-margin " icon ="sap-icon://cart " type ="Transparent " aria-labelledby ="lblCart "> </ ui5-button >
100
+ < ui5-button class ="samples-margin " icon ="sap-icon://accept " design ="Positive " aria-labelledby ="lblAccept "> </ ui5-button >
101
+ < ui5-button class ="samples-margin " icon ="sap-icon://bookmark " design ="Positive " aria-labelledby ="lblBookmark "> </ ui5-button >
102
+ < ui5-button class ="samples-margin " icon ="sap-icon://cancel " design ="Negative " aria-labelledby ="lblCancel " > </ ui5-button >
103
+ < ui5-button class ="samples-margin " icon ="sap-icon://call " design ="Negative " aria-labelledby ="lblCall " > </ ui5-button >
104
+ < ui5-button class ="samples-margin " icon ="sap-icon://camera " design ="Transparent " aria-labelledby ="lblCamera "> </ ui5-button >
105
+ < ui5-button class ="samples-margin " icon ="sap-icon://cart " design ="Transparent " aria-labelledby ="lblCart "> </ ui5-button >
106
106
</ div >
107
107
< pre class ="prettyprint lang-html "> < xmp >
108
108
< ui5-button icon ="sap-icon://away " aria-labelledby ="lblAway "> </ ui5-button >
109
109
< ui5-button icon ="sap-icon://action-settings " aria-labelledby ="lblSettings " > </ ui5-button >
110
110
< ui5-button icon ="sap-icon://add " aria-labelledby ="lblAdd "> </ ui5-button >
111
111
< ui5-button icon ="sap-icon://alert " aria-labelledby ="lblAlert "> </ ui5-button >
112
- < ui5-button icon ="sap-icon://accept " type ="Positive " aria-labelledby ="lblAccept "> </ ui5-button >
113
- < ui5-button icon ="sap-icon://bookmark " type ="Positive " aria-labelledby ="lblBookmark "> </ ui5-button >
114
- < ui5-button icon ="sap-icon://cancel " type ="Negative " aria-labelledby ="lblCancel " > </ ui5-button >
115
- < ui5-button icon ="sap-icon://call " type ="Negative " aria-labelledby ="lblCall " > </ ui5-button >
116
- < ui5-button icon ="sap-icon://camera " type ="Transparent " aria-labelledby ="lblCamera "> </ ui5-button >
117
- < ui5-button icon ="sap-icon://cart " type ="Transparent " aria-labelledby ="lblCart "> </ ui5-button >
112
+ < ui5-button icon ="sap-icon://accept " design ="Positive " aria-labelledby ="lblAccept "> </ ui5-button >
113
+ < ui5-button icon ="sap-icon://bookmark " design ="Positive " aria-labelledby ="lblBookmark "> </ ui5-button >
114
+ < ui5-button icon ="sap-icon://cancel " design ="Negative " aria-labelledby ="lblCancel " > </ ui5-button >
115
+ < ui5-button icon ="sap-icon://call " design ="Negative " aria-labelledby ="lblCall " > </ ui5-button >
116
+ < ui5-button icon ="sap-icon://camera " design ="Transparent " aria-labelledby ="lblCamera "> </ ui5-button >
117
+ < ui5-button icon ="sap-icon://cart " design ="Transparent " aria-labelledby ="lblCart "> </ ui5-button >
118
118
< ui5-label style ="display:none " id ="lblAdd " aria-hidden ="true "> Add</ ui5-label >
119
119
</ xmp > </ pre >
120
120
</ section >
121
121
122
122
< section >
123
- < h3 > Button with Type </ h3 >
123
+ < h3 > Button with Design </ h3 >
124
124
< div class ="snippet ">
125
- < ui5-button class ="samples-margin " type ="Emphasized "> Submit</ ui5-button >
126
- < ui5-button class ="samples-margin " type ="Positive "> Agree</ ui5-button >
127
- < ui5-button class ="samples-margin " type ="Negative "> Decline</ ui5-button >
125
+ < ui5-button class ="samples-margin " design ="Emphasized "> Submit</ ui5-button >
126
+ < ui5-button class ="samples-margin " design ="Positive "> Agree</ ui5-button >
127
+ < ui5-button class ="samples-margin " design ="Negative "> Decline</ ui5-button >
128
128
< ui5-button class ="samples-margin " disabled > Disabled</ ui5-button >
129
- < ui5-button class ="samples-margin " type ="Transparent "> Transparent</ ui5-button >
129
+ < ui5-button class ="samples-margin " design ="Transparent "> Transparent</ ui5-button >
130
130
</ div >
131
131
< pre class ="prettyprint lang-html "> < xmp >
132
- < ui5-button type ="Emphasized "> Submit</ ui5-button >
133
- < ui5-button type ="Positive "> Agree</ ui5-button >
134
- < ui5-button type ="Negative "> Decline</ ui5-button >
132
+ < ui5-button design ="Emphasized "> Submit</ ui5-button >
133
+ < ui5-button design ="Positive "> Agree</ ui5-button >
134
+ < ui5-button design ="Negative "> Decline</ ui5-button >
135
135
< ui5-button disabled > Disabled</ ui5-button >
136
- < ui5-button type ="Transparent "> Transparent</ ui5-button >
136
+ < ui5-button design ="Transparent "> Transparent</ ui5-button >
137
137
</ xmp > </ pre >
138
138
</ section >
139
139
0 commit comments