@apliteni/apliteni-ui 0.40.0 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Component choice
|
|
2
2
|
|
|
3
|
+
## Make the committing action stand out
|
|
4
|
+
|
|
5
|
+
<!-- rule: paired-actions -->
|
|
6
|
+
|
|
7
|
+
**Rule:** In a pair of actions, give the committing action more visual weight than the dismissing action.
|
|
8
|
+
|
|
9
|
+
**Why:** Equal weight makes it harder to see which button commits the change.
|
|
10
|
+
|
|
11
|
+
**Do:** Use a primary Save button beside a ghost Cancel button.
|
|
12
|
+
|
|
13
|
+
**Don't:** Give Save and Cancel the same primary style.
|
|
14
|
+
|
|
3
15
|
## Interrupt with a question
|
|
4
16
|
|
|
5
17
|
<!-- rule: interrupt -->
|