@equal-experts/kuat-react 0.13.0 → 0.13.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.
- package/agent-docs/AGENTS.md +10 -0
- package/agent-docs/README.md +17 -0
- package/agent-docs/bundle-manifest.json +63 -0
- package/agent-docs/components/_template.md +21 -0
- package/agent-docs/components/button-group.md +27 -0
- package/agent-docs/components/button.md +50 -0
- package/agent-docs/components/components.manifest.json +20 -0
- package/agent-docs/components/kuat-header.md +27 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +166 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/accessibility.md +444 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/brand.md +99 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +93 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +69 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +75 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/writing-style.md +91 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/borders.md +159 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/colours.md +173 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/design-language.md +116 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/spacing.md +130 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/typography.md +155 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/logo.md +151 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/README.md +26 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/blog-posts.md +33 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/marketing-content.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/content/seo.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/emails.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +18 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/marketing-pages.md +368 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/website.md +169 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +28 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +65 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/accessibility.md +402 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-decision-tree.md +263 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/component-registry.md +68 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/actions.md +51 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/confirmations.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/empty-states.md +43 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/errors.md +54 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/forms.md +74 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/product-content.md +138 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/design.md +207 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/emails.md +71 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +57 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +44 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +82 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/authentication.md +303 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/dashboards.md +313 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/documentation.md +333 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/forms.md +361 -0
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +488 -0
- package/agent-docs/kuat-docs/rules/README.md +148 -0
- package/agent-docs/kuat-docs/rules/design/layouts.md +394 -0
- package/agent-docs/kuat-docs/rules/scenarios/README.md +83 -0
- package/agent-docs/kuat-docs/rules/scenarios/authentication.md +301 -0
- package/agent-docs/kuat-docs/rules/scenarios/dashboards.md +314 -0
- package/agent-docs/kuat-docs/rules/scenarios/documentation.md +333 -0
- package/agent-docs/kuat-docs/rules/scenarios/forms.md +359 -0
- package/agent-docs/kuat-docs/rules/scenarios/marketing-pages.md +367 -0
- package/agent-docs/manifest.json +9 -0
- package/agent-docs/rules/LOADING-consumer.md +27 -0
- package/dist/accordion.d.ts +2 -0
- package/dist/alert-dialog.d.ts +2 -0
- package/dist/badge.d.ts +3 -0
- package/dist/button-group.d.ts +2 -0
- package/dist/button.d.ts +3 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/components/ui/accordion/accordion.d.ts +7 -0
- package/dist/components/ui/accordion/index.d.ts +1 -0
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog/index.d.ts +1 -0
- package/dist/components/ui/badge/badge.d.ts +16 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +29 -0
- package/dist/components/ui/breadcrumb/breadcrumb-primitives.d.ts +19 -0
- package/dist/components/ui/breadcrumb/index.d.ts +4 -0
- package/dist/components/ui/button/button.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +2 -0
- package/dist/components/ui/button-group/button-group.d.ts +23 -0
- package/dist/components/ui/button-group/index.d.ts +2 -0
- package/dist/components/ui/carousel/carousel.d.ts +50 -0
- package/dist/components/ui/carousel/index.d.ts +2 -0
- package/dist/components/ui/checkbox/checkbox-field.d.ts +23 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox/index.d.ts +4 -0
- package/dist/components/ui/content-card/content-card.d.ts +29 -0
- package/dist/components/ui/content-card/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/components/ui/ee-logo-icon/ee-logo-icon.d.ts +11 -0
- package/dist/components/ui/ee-logo-icon/index.d.ts +2 -0
- package/dist/components/ui/field/field.d.ts +28 -0
- package/dist/components/ui/field/index.d.ts +2 -0
- package/dist/components/ui/icon-button/icon-button.d.ts +27 -0
- package/dist/components/ui/icon-button/index.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/input.d.ts +20 -0
- package/dist/components/ui/kuat-carousel/index.d.ts +2 -0
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +16 -0
- package/dist/components/ui/kuat-header/index.d.ts +4 -0
- package/dist/components/ui/kuat-header/kuat-header.d.ts +16 -0
- package/dist/components/ui/kuat-header/kuat-header.logic.d.ts +32 -0
- package/dist/components/ui/kuat-header/kuat-header.types.d.ts +91 -0
- package/dist/components/ui/kuat-logo-lockup/index.d.ts +2 -0
- package/dist/components/ui/kuat-logo-lockup/kuat-logo-lockup.d.ts +17 -0
- package/dist/components/ui/kuat-radial-progress/index.d.ts +2 -0
- package/dist/components/ui/kuat-radial-progress/kuat-radial-progress.d.ts +16 -0
- package/dist/components/ui/radio/index.d.ts +4 -0
- package/dist/components/ui/radio/radio-field.d.ts +25 -0
- package/dist/components/ui/radio/radio.d.ts +7 -0
- package/dist/components/ui/select/constants.d.ts +19 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/select.d.ts +53 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/separator.d.ts +9 -0
- package/dist/components/ui/sonner/index.d.ts +4 -0
- package/dist/components/ui/sonner/sonner-content.d.ts +15 -0
- package/dist/components/ui/sonner/sonner.d.ts +21 -0
- package/dist/components/ui/switch/index.d.ts +4 -0
- package/dist/components/ui/switch/switch-field.d.ts +23 -0
- package/dist/components/ui/switch/switch.d.ts +5 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/textarea.d.ts +9 -0
- package/dist/components/ui/toggle/constants.d.ts +4 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/toggle-group.d.ts +11 -0
- package/dist/components/ui/toggle/toggle.d.ts +9 -0
- package/dist/field.d.ts +3 -0
- package/dist/icon-button.d.ts +3 -0
- package/dist/index.d.ts +47 -0
- package/dist/input.d.ts +3 -0
- package/dist/kuat-carousel.d.ts +2 -0
- package/dist/kuat-radial-progress.d.ts +7 -0
- package/dist/lib/react-node-compat.d.ts +7 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/radio.d.ts +3 -0
- package/dist/select.d.ts +3 -0
- package/dist/sonner.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/style.css.d.ts +2 -0
- package/dist/switch.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/textarea.d.ts +3 -0
- package/dist/toggle-group.d.ts +3 -0
- package/dist/toggle.d.ts +3 -0
- package/package.json +4 -2
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
scope: type
|
|
3
|
+
platform: web_product
|
|
4
|
+
prerequisites: general
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Product Design Rules
|
|
8
|
+
|
|
9
|
+
Design guidelines for Equal Experts web applications and product interfaces.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
**Prerequisites:** Load [foundations](../../../foundations/) first.
|
|
14
|
+
|
|
15
|
+
**Intent:** Use skill [kuat-review](../../../../skills/kuat-review/SKILL.md) or [kuat-create](../../../../skills/kuat-create/SKILL.md) first.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Before you review
|
|
20
|
+
|
|
21
|
+
1. Run [kuat-review](../../../../skills/kuat-review/SKILL.md) intake (depth, artifacts, output format).
|
|
22
|
+
2. Gather product context per [review-context.md](./review-context.md) when depth is `product_ux` or `full`.
|
|
23
|
+
3. Apply [review-checklist.md](./review-checklist.md).
|
|
24
|
+
4. **Do not load** [examples/](./examples/) for review-only tasks.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Before you create
|
|
29
|
+
|
|
30
|
+
1. Run [kuat-create](../../../../skills/kuat-create/SKILL.md).
|
|
31
|
+
2. Load this file, relevant [scenarios/](./scenarios/), and [content/](./content/) as needed.
|
|
32
|
+
3. Load [examples/](./examples/) when implementing UI in React, Vue, or CSS.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Overview
|
|
37
|
+
|
|
38
|
+
Product layouts are for web applications, dashboards, and internal tools. They use **dark navigation** for clear visual hierarchy, distinguishing them from marketing layouts.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## When to Use Product Layout
|
|
43
|
+
|
|
44
|
+
Use product layout when:
|
|
45
|
+
- Building web applications
|
|
46
|
+
- Creating dashboards or internal tools
|
|
47
|
+
- Data-heavy or interactive interfaces
|
|
48
|
+
- Requires persistent navigation
|
|
49
|
+
- User workflows and task completion
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Navigation Patterns
|
|
54
|
+
|
|
55
|
+
Product layouts use **dark navigation** for clear visual hierarchy. Choose one of two patterns:
|
|
56
|
+
|
|
57
|
+
### Option 1: Dark Horizontal Navigation
|
|
58
|
+
|
|
59
|
+
Use when: Limited navigation items (5-7 items)
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
┌─────────────────────────────────────────┐
|
|
63
|
+
│ Dark Navigation Bar (Tech Blue) │
|
|
64
|
+
│ [Logo] [Nav Items] [User Menu] │
|
|
65
|
+
├─────────────────────────────────────────┤
|
|
66
|
+
│ │
|
|
67
|
+
│ Main Content Area │
|
|
68
|
+
│ (Light background) │
|
|
69
|
+
│ │
|
|
70
|
+
└─────────────────────────────────────────┘
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Specifications:**
|
|
74
|
+
|
|
75
|
+
| Property | Value |
|
|
76
|
+
|----------|-------|
|
|
77
|
+
| Background | `bg-sidebar` (Tech Blue) |
|
|
78
|
+
| Logo | White monochrome (`logo-monochrome-white.svg`), left-aligned |
|
|
79
|
+
| Logo size | 120-150px (min 100px) |
|
|
80
|
+
| Height | 64-72px fixed |
|
|
81
|
+
| Nav items | Horizontal, left-aligned after logo |
|
|
82
|
+
| User menu | Right-aligned |
|
|
83
|
+
|
|
84
|
+
### Option 2: Dark Sidebar Navigation
|
|
85
|
+
|
|
86
|
+
Use when: Complex navigation, hierarchical structure, 8+ items
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
┌──────┬──────────────────────────────────┐
|
|
90
|
+
│ │ Top Bar (Light) │
|
|
91
|
+
│ Dark │ [Breadcrumbs] [User Menu] │
|
|
92
|
+
│ Side │──────────────────────────────────┤
|
|
93
|
+
│ bar │ │
|
|
94
|
+
│ │ Main Content Area │
|
|
95
|
+
│ [Logo│ (Light background) │
|
|
96
|
+
│ Nav] │ │
|
|
97
|
+
│ │ │
|
|
98
|
+
└──────┴──────────────────────────────────┘
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**Specifications:**
|
|
102
|
+
|
|
103
|
+
| Property | Value |
|
|
104
|
+
|----------|-------|
|
|
105
|
+
| Sidebar background | `bg-sidebar` (Tech Blue) |
|
|
106
|
+
| Sidebar width | 240-280px (collapsible to 64px) |
|
|
107
|
+
| Logo | White monochrome, top of sidebar |
|
|
108
|
+
| Logo size | 120-150px (min 100px) |
|
|
109
|
+
| Top bar background | `bg-background` (light) |
|
|
110
|
+
| Content area | Light background, full remaining width |
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Navigation Color Tokens
|
|
115
|
+
|
|
116
|
+
For dark navigation (horizontal or sidebar):
|
|
117
|
+
|
|
118
|
+
| Token | Purpose |
|
|
119
|
+
|-------|---------|
|
|
120
|
+
| `--sidebar` | Navigation background (Tech Blue) |
|
|
121
|
+
| `--sidebar-foreground` | Text color (White) |
|
|
122
|
+
| `--sidebar-primary` | Primary accent (EE Blue) |
|
|
123
|
+
| `--sidebar-primary-foreground` | Text on primary |
|
|
124
|
+
| `--sidebar-accent` | Hover/active background |
|
|
125
|
+
| `--sidebar-accent-foreground` | Text on accent |
|
|
126
|
+
| `--sidebar-border` | Border color |
|
|
127
|
+
| `--sidebar-ring` | Focus ring color |
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Logo Placement
|
|
132
|
+
|
|
133
|
+
| Location | Logo Variant | Size |
|
|
134
|
+
|----------|--------------|------|
|
|
135
|
+
| Horizontal nav | White monochrome | 120-150px |
|
|
136
|
+
| Sidebar (top) | White monochrome | 120-150px |
|
|
137
|
+
|
|
138
|
+
**Never use full-color logo on dark backgrounds.**
|
|
139
|
+
|
|
140
|
+
See [foundations/logo.md](../../../foundations/logo.md) for logo guidelines.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Responsive Behavior
|
|
145
|
+
|
|
146
|
+
### Horizontal Navigation
|
|
147
|
+
|
|
148
|
+
| Breakpoint | Behavior |
|
|
149
|
+
|------------|----------|
|
|
150
|
+
| Mobile | Collapse to hamburger menu |
|
|
151
|
+
| Tablet | Show primary nav, hide secondary |
|
|
152
|
+
| Desktop | Full navigation visible |
|
|
153
|
+
|
|
154
|
+
### Sidebar Navigation
|
|
155
|
+
|
|
156
|
+
| Breakpoint | Behavior |
|
|
157
|
+
|------------|----------|
|
|
158
|
+
| Mobile | Overlay/drawer, hidden by default |
|
|
159
|
+
| Tablet | Collapsible (default collapsed) |
|
|
160
|
+
| Desktop | Full sidebar visible (240-280px) |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Content Areas
|
|
165
|
+
|
|
166
|
+
### Main Content
|
|
167
|
+
|
|
168
|
+
- Light background (`bg-background`)
|
|
169
|
+
- Adequate padding (24-32px)
|
|
170
|
+
- Responsive width
|
|
171
|
+
|
|
172
|
+
### Cards and Panels
|
|
173
|
+
|
|
174
|
+
- Use `bg-card` token for card backgrounds
|
|
175
|
+
- Follow [foundations/design/borders.md](../../../foundations/design/borders.md) for border styling
|
|
176
|
+
- Follow [foundations/design/spacing.md](../../../foundations/design/spacing.md) for padding
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Usage Guidelines
|
|
181
|
+
|
|
182
|
+
### Do's
|
|
183
|
+
|
|
184
|
+
1. **Use dark navigation** - Distinguishes product from marketing
|
|
185
|
+
2. **Use white/monochrome logo** - Appropriate for dark backgrounds
|
|
186
|
+
3. **Choose appropriate nav pattern** - Horizontal for simple, sidebar for complex
|
|
187
|
+
4. **Maintain light content areas** - Good contrast for readability
|
|
188
|
+
5. **Follow spacing guidelines** - 8-point grid, consistent padding
|
|
189
|
+
|
|
190
|
+
### Don'ts
|
|
191
|
+
|
|
192
|
+
1. **Don't use light navigation** - That's for marketing layouts
|
|
193
|
+
2. **Don't use full-color logo on dark** - Use white monochrome
|
|
194
|
+
3. **Don't combine nav patterns** - Choose horizontal OR sidebar, not both
|
|
195
|
+
4. **Don't ignore mobile** - All layouts must work on small screens
|
|
196
|
+
5. **Don't hardcode colors** - Use design tokens
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Related Documentation
|
|
201
|
+
|
|
202
|
+
- [Foundations](../../../foundations/) - Brand and design language
|
|
203
|
+
- [Accessibility](./accessibility.md) - Technical accessibility implementation
|
|
204
|
+
- [Component Decision Tree](./component-decision-tree.md) - Component selection
|
|
205
|
+
- [Technical Guidelines](./technical.md) - Implementation details
|
|
206
|
+
- [Product Content](./content.md) - UX writing guidelines
|
|
207
|
+
- [Scenarios](./scenarios/) - Applied patterns for specific page types
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Product Email Rules
|
|
2
|
+
|
|
3
|
+
Guidelines for Equal Experts transactional and product-related emails.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**Status:** Placeholder - details to be defined
|
|
8
|
+
|
|
9
|
+
**Prerequisites:** Load [foundations](../../../foundations/) first
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Overview
|
|
14
|
+
|
|
15
|
+
Product emails are transactional communications sent from web applications, including confirmations, notifications, and system messages.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Key Principles
|
|
20
|
+
|
|
21
|
+
1. **Informative** - Provide necessary information clearly
|
|
22
|
+
2. **Actionable** - Include clear next steps when needed
|
|
23
|
+
3. **Timely** - Send at the right moment
|
|
24
|
+
4. **Concise** - Respect user's time
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Email Types
|
|
29
|
+
|
|
30
|
+
- **Confirmation emails** - Account created, payment received
|
|
31
|
+
- **Notification emails** - New activity, status changes
|
|
32
|
+
- **System emails** - Password reset, security alerts
|
|
33
|
+
- **Digest emails** - Summary of activity
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Content Guidelines
|
|
38
|
+
|
|
39
|
+
Follow [foundations/content/](../../../foundations/content/) and [product content](./content/product-content.md) for writing style.
|
|
40
|
+
|
|
41
|
+
### Subject Lines
|
|
42
|
+
- Be specific about the content
|
|
43
|
+
- Include relevant details (order number, etc.)
|
|
44
|
+
- Keep concise
|
|
45
|
+
|
|
46
|
+
### Body Content
|
|
47
|
+
- Lead with the most important information
|
|
48
|
+
- Include relevant details
|
|
49
|
+
- Provide clear next steps
|
|
50
|
+
- Link to the application for actions
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## To Be Defined
|
|
55
|
+
|
|
56
|
+
- Email template designs
|
|
57
|
+
- Header and footer specifications
|
|
58
|
+
- Logo placement and sizing
|
|
59
|
+
- Color usage in transactional emails
|
|
60
|
+
- Typography for email clients
|
|
61
|
+
- CTA button styling
|
|
62
|
+
- Mobile-first design requirements
|
|
63
|
+
- Accessibility requirements
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Related Documentation
|
|
68
|
+
|
|
69
|
+
- [Foundations](../../../foundations/) - Brand and design language
|
|
70
|
+
- [Product Content](./content/product-content.md) - UX writing guidelines
|
|
71
|
+
- [Marketing Emails](../marketing/emails.md) - Marketing email guidelines
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Web Product — Review Checklist
|
|
2
|
+
|
|
3
|
+
Use for **review** intent at any depth. Pair with [review-context.md](./review-context.md) when depth is `product_ux` or `full`.
|
|
4
|
+
|
|
5
|
+
**See also:** [design.md](./design.md), [accessibility.md](./accessibility.md), [component-decision-tree.md](./component-decision-tree.md), [kuat-review](../../../../skills/kuat-review/SKILL.md).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Brand compliance (all depths)
|
|
10
|
+
|
|
11
|
+
- [ ] Colours from approved palette / semantic tokens — no arbitrary hex in UI
|
|
12
|
+
- [ ] Typography uses defined scale (Lexend, type roles)
|
|
13
|
+
- [ ] Spacing follows 4px grid
|
|
14
|
+
- [ ] Logo usage follows [foundations/logo.md](../../../foundations/logo.md) if present
|
|
15
|
+
- [ ] Border radius: 0px static content, 6px interactive, 4px inputs
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Accessibility (all depths)
|
|
20
|
+
|
|
21
|
+
- [ ] Single logical H1 per view (or equivalent page title pattern)
|
|
22
|
+
- [ ] Heading hierarchy is sequential
|
|
23
|
+
- [ ] Text contrast meets WCAG AA (4.5:1 body, 3:1 large text/UI)
|
|
24
|
+
- [ ] Focus states visible for keyboard users
|
|
25
|
+
- [ ] Images have appropriate alt text (decorative: empty alt)
|
|
26
|
+
- [ ] Interactive controls have accessible names
|
|
27
|
+
|
|
28
|
+
See [accessibility.md](./accessibility.md) for full requirements.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Product patterns (all depths)
|
|
33
|
+
|
|
34
|
+
- [ ] Product layout uses dark navigation pattern where applicable ([design.md](./design.md))
|
|
35
|
+
- [ ] Components sourced per [component-decision-tree.md](./component-decision-tree.md)
|
|
36
|
+
- [ ] Primitives match component guides for cited IDs (`shadcn:button`, `kuat:*`) from package `agent-docs/` or overlay
|
|
37
|
+
- [ ] No inline styles for themeable properties — use design tokens
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Product / UX fit (`product_ux` or `full` only)
|
|
42
|
+
|
|
43
|
+
**Blocked** until [review-context.md](./review-context.md) items are supplied. Do not score this section without user story and scope.
|
|
44
|
+
|
|
45
|
+
- [ ] Primary actions and labels support the stated job-to-be-done ([content/actions.md](./content/actions.md))
|
|
46
|
+
- [ ] Copy enables task completion — not marketing tone ([content/product-content.md](./content/product-content.md))
|
|
47
|
+
- [ ] Errors, empty, and loading states match scoped flows (see relevant [scenarios/](./scenarios/) file)
|
|
48
|
+
- [ ] Form labels and validation align with scenario rules if applicable
|
|
49
|
+
- [ ] Screen content reflects stated success criteria from review context — cite evidence
|
|
50
|
+
|
|
51
|
+
If context missing: mark section **Blocked** and list required items under Open questions.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Report usage
|
|
56
|
+
|
|
57
|
+
Map failures to [kuat-review](../../../../skills/kuat-review/SKILL.md) violation table. Cite the rule file for each finding.
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Web Product — Review Context
|
|
2
|
+
|
|
3
|
+
Product and research context to gather **before** reviewing web features at `product_ux` or `full` depth. See skill [kuat-review](../../../../skills/kuat-review/SKILL.md).
|
|
4
|
+
|
|
5
|
+
**Skip this file** when review depth is `brand_compliance` only — note in the report that UX/content fit is out of scope.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Mandatory questions
|
|
10
|
+
|
|
11
|
+
Ask for anything missing in the grouped intake message:
|
|
12
|
+
|
|
13
|
+
| Context | Ask for |
|
|
14
|
+
|---------|---------|
|
|
15
|
+
| **User story / job-to-be-done** | Who is the user, what are they trying to do, what outcome counts as success? |
|
|
16
|
+
| **Research & evidence** | Insights, interview themes, analytics, usability findings — or explicit "none yet" |
|
|
17
|
+
| **Constraints** | Deadlines, tech limits, policy, must-use patterns |
|
|
18
|
+
| **Scope** | Which screens/states (happy path only vs errors, empty, loading, edge cases) |
|
|
19
|
+
| **Known decisions** | What discovery already decided (avoid relitigating settled choices) |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Optional but useful
|
|
24
|
+
|
|
25
|
+
- Competitor or reference examples the team used
|
|
26
|
+
- Prior iteration feedback
|
|
27
|
+
- Accessibility audit or QA results
|
|
28
|
+
- Links to tickets, PRDs, or Figma flows
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## If context is withheld
|
|
33
|
+
|
|
34
|
+
- Proceed at `brand_compliance` if the user confirms, or
|
|
35
|
+
- Produce **provisional** UX notes with assumptions listed under **Open questions** in the report
|
|
36
|
+
- Do **not** invent user stories or research conclusions
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Related
|
|
41
|
+
|
|
42
|
+
- [review-checklist.md](./review-checklist.md)
|
|
43
|
+
- [kuat-review/SKILL.md](../../../../skills/kuat-review/SKILL.md)
|
|
44
|
+
- [content/product-content.md](./content/product-content.md)
|
package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Product Scenarios
|
|
2
|
+
|
|
3
|
+
Applied layout and design patterns for web application page types.
|
|
4
|
+
|
|
5
|
+
Each scenario combines foundational rules and web product rules into actionable guidance for building complete pages.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## When to Use Scenarios
|
|
10
|
+
|
|
11
|
+
Load a scenario guide when:
|
|
12
|
+
|
|
13
|
+
- Building a specific page type (login, dashboard, settings)
|
|
14
|
+
- Need composition guidance beyond foundational design rules
|
|
15
|
+
- Want consistent patterns for common UI challenges
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Available Scenarios
|
|
20
|
+
|
|
21
|
+
| Scenario | Use For | Base Layout |
|
|
22
|
+
|----------|---------|-------------|
|
|
23
|
+
| [authentication.md](./authentication.md) | Login, registration, password flows, MFA | Single Column |
|
|
24
|
+
| [dashboards.md](./dashboards.md) | Analytics, data tables, metrics, reporting | Sidebar Navigation |
|
|
25
|
+
| [forms.md](./forms.md) | Settings, multi-step forms, data entry | Varies |
|
|
26
|
+
| [documentation.md](./documentation.md) | Docs sites, knowledge bases, API reference | Sidebar + Split |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Scenario Structure
|
|
31
|
+
|
|
32
|
+
Each scenario file follows a consistent structure:
|
|
33
|
+
|
|
34
|
+
| Section | Purpose |
|
|
35
|
+
|---------|---------|
|
|
36
|
+
| **Principles** | Core UX principles, user goals, success metrics |
|
|
37
|
+
| **Layout** | Which base layout to use, page structure, regions |
|
|
38
|
+
| **Design** | Color tokens, typography, spacing, components |
|
|
39
|
+
| **Content** | Content hierarchy, microcopy, error messaging |
|
|
40
|
+
| **Accessibility** | Scenario-specific a11y requirements (references base docs) |
|
|
41
|
+
| **Implementation** | Component composition, state patterns, responsive behavior |
|
|
42
|
+
| **Best Practices** | Do's/Don'ts, common mistakes, edge cases |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## How Scenarios Reference Foundations
|
|
47
|
+
|
|
48
|
+
Scenarios build on foundational documentation:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
┌─────────────────────────────────────────┐
|
|
52
|
+
│ SCENARIOS │
|
|
53
|
+
│ (authentication, dashboards, etc.) │
|
|
54
|
+
├─────────────────────────────────────────┤
|
|
55
|
+
│ References: │
|
|
56
|
+
│ ├── rules/foundations/* │
|
|
57
|
+
│ ├── rules/types/web/product/design.md │
|
|
58
|
+
│ ├── rules/types/web/product/ │
|
|
59
|
+
│ │ accessibility.md │
|
|
60
|
+
│ └── rules/foundations/accessibility.md│
|
|
61
|
+
└─────────────────────────────────────────┘
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## For AI Agents
|
|
67
|
+
|
|
68
|
+
When building a specific page type:
|
|
69
|
+
|
|
70
|
+
1. Load the relevant scenario file
|
|
71
|
+
2. Follow the recommended base layout from product design rules
|
|
72
|
+
3. Reference accessibility requirements from foundations and web accessibility docs
|
|
73
|
+
4. Use design tokens from foundations colours and typography
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Related Documentation
|
|
78
|
+
|
|
79
|
+
- [Product Design](../design.md) - Layout patterns
|
|
80
|
+
- [Product Accessibility](../accessibility.md) - Technical implementation
|
|
81
|
+
- [Foundations Accessibility](../../../../foundations/accessibility.md) - Principles
|
|
82
|
+
- [Foundations](../../../../foundations/) - Brand design rules
|