@apliteni/apliteni-ui 0.179.1 → 0.179.2
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.
- package/guidelines/INDEX.md +1 -1
- package/guidelines/the-page.md +5 -5
- package/package.json +1 -1
package/guidelines/INDEX.md
CHANGED
|
@@ -4,7 +4,7 @@ Each row names one guideline page, the screen parts it covers, and when to read
|
|
|
4
4
|
|
|
5
5
|
| Page | Screen parts | When to read |
|
|
6
6
|
| --- | --- | --- |
|
|
7
|
-
| [The page](the-page.md) | The page shell, content width, headings, the main action,
|
|
7
|
+
| [The page](the-page.md) | The page shell, content width, headings, the main action, nested cards, table density and the page introduction. | Read it before you build any screen. |
|
|
8
8
|
| [Dashboards and reports](dashboards-and-reports.md) | Dashboard figures, trends and exceptions, report tables, chart cards and a report export. | Read it before you build a dashboard or a report. |
|
|
9
9
|
| [Destructive actions](destructive-actions.md) | Danger controls, action names and confirmation or undo. | Read it before you add a delete, revoke or remove action. |
|
|
10
10
|
| [Colour and theming](colour-and-theming.md) | Colour tokens, accents, signal colours, theme checks and forced colours. | Read it before you pick colours, accents or check contrast. |
|
package/guidelines/the-page.md
CHANGED
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
|
|
75
75
|
**Don't:** Give all three actions equal emphasis.
|
|
76
76
|
|
|
77
|
-
##
|
|
77
|
+
## Never nest cards
|
|
78
78
|
|
|
79
79
|
<!-- rule: stacking -->
|
|
80
80
|
|
|
81
|
-
**Rule:**
|
|
81
|
+
**Rule:** Never put a card inside another card.
|
|
82
82
|
|
|
83
|
-
**Why:**
|
|
83
|
+
**Why:** Two borders around one thing give the inner card no rank, so the reader cannot tell which box holds the content.
|
|
84
84
|
|
|
85
|
-
**Do:**
|
|
85
|
+
**Do:** Stack the cards at one level, as many as the page needs.
|
|
86
86
|
|
|
87
|
-
**Don't:**
|
|
87
|
+
**Don't:** Put a card inside another card.
|
|
88
88
|
|
|
89
89
|
## Leave pages closed
|
|
90
90
|
|