@arbor-education/design-system.components 0.10.0 β†’ 0.11.0

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.
Files changed (69) hide show
  1. package/.claude/agent-memory/blanche-designspert/MEMORY.md +64 -0
  2. package/.claude/agent-memory/blanche-designspert/token-review-patterns.md +29 -0
  3. package/.claude/agent-memory/dorothy-fact-checker/MEMORY.md +129 -0
  4. package/.claude/agent-memory/rose-storybookspert/MEMORY.md +29 -0
  5. package/.claude/agent-memory/rose-storybookspert/patterns.md +132 -0
  6. package/.claude/agent-memory/sophia-componentspert/MEMORY.md +14 -0
  7. package/.claude/agent-memory/sophia-componentspert/components.md +367 -0
  8. package/.claude/agents/blanche-designspert.md +150 -0
  9. package/.claude/agents/dorothy-fact-checker.md +145 -0
  10. package/.claude/agents/rose-storybookspert.md +148 -0
  11. package/.claude/agents/sophia-componentspert.md +133 -0
  12. package/.claude/component-library.md +1107 -0
  13. package/.claude/design-assessment-daily-attendance-2026-04-10.md +566 -0
  14. package/.claude/figma-assessment-7154-58899.md +404 -0
  15. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-11086-97537.md +392 -0
  16. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-551-41974.md +474 -0
  17. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-551-43094.md +462 -0
  18. package/.claude/figma-assessment-fcFK4CGzkz2fVyY3koX8ZE-7154-59061.md +440 -0
  19. package/.claude/migration-report-custom-report-writer-2026-02-19.md +591 -0
  20. package/.claude/skills/analyze-design/README.md +295 -0
  21. package/.claude/skills/analyze-design/SKILL.md +741 -0
  22. package/.claude/skills/create-page/README.md +246 -0
  23. package/.claude/skills/create-page/SKILL.md +634 -0
  24. package/.claude/skills/create-page/design-analysis-template.md +333 -0
  25. package/.claude/skills/create-page/page-template.scss +118 -0
  26. package/.claude/skills/create-page/page-template.tsx +230 -0
  27. package/.claude/skills/map-legacy/README.md +87 -0
  28. package/.claude/skills/map-legacy/SKILL.md +465 -0
  29. package/.claude/skills/migrate-page/README.md +125 -0
  30. package/.claude/skills/migrate-page/SKILL.md +374 -0
  31. package/.github/CODEOWNERS +1 -0
  32. package/.github/pull_request_template.md +39 -0
  33. package/CHANGELOG.md +6 -0
  34. package/CLAUDE.md +31 -0
  35. package/CONTRIBUTING.md +191 -0
  36. package/README.md +110 -20
  37. package/dist/components/table/DSDefaultColDef.js +2 -2
  38. package/dist/components/table/DSDefaultColDef.js.map +1 -1
  39. package/dist/components/table/Table.d.ts.map +1 -1
  40. package/dist/components/table/Table.js +2 -0
  41. package/dist/components/table/Table.js.map +1 -1
  42. package/dist/components/table/Table.stories.d.ts +1 -0
  43. package/dist/components/table/Table.stories.d.ts.map +1 -1
  44. package/dist/components/table/Table.stories.js +95 -3
  45. package/dist/components/table/Table.stories.js.map +1 -1
  46. package/dist/components/table/Table.test.js +106 -5
  47. package/dist/components/table/Table.test.js.map +1 -1
  48. package/dist/components/table/cellRenderers/CheckboxCellRenderer.d.ts +3 -0
  49. package/dist/components/table/cellRenderers/CheckboxCellRenderer.d.ts.map +1 -0
  50. package/dist/components/table/cellRenderers/CheckboxCellRenderer.js +12 -0
  51. package/dist/components/table/cellRenderers/CheckboxCellRenderer.js.map +1 -0
  52. package/dist/components/table/cellRenderers/CheckboxCellRenderer.test.d.ts +2 -0
  53. package/dist/components/table/cellRenderers/CheckboxCellRenderer.test.d.ts.map +1 -0
  54. package/dist/components/table/cellRenderers/CheckboxCellRenderer.test.js +65 -0
  55. package/dist/components/table/cellRenderers/CheckboxCellRenderer.test.js.map +1 -0
  56. package/dist/index.css +1 -1
  57. package/dist/index.d.ts +1 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +1 -0
  60. package/dist/index.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/components/table/DSDefaultColDef.ts +2 -2
  63. package/src/components/table/Table.stories.tsx +99 -3
  64. package/src/components/table/Table.test.tsx +131 -5
  65. package/src/components/table/Table.tsx +2 -0
  66. package/src/components/table/cellRenderers/CheckboxCellRenderer.test.tsx +74 -0
  67. package/src/components/table/cellRenderers/CheckboxCellRenderer.tsx +28 -0
  68. package/src/components/table/table.scss +1 -1
  69. package/src/index.ts +1 -0
@@ -0,0 +1,295 @@
1
+ # Analyze Design Skill
2
+
3
+ AROOOOO HUNNI!! 🐺πŸ’ͺ This is a BOMBASS skill for analyzing Figma designs and screenshots to see what's POSSIBLE with our component library!! xxx
4
+
5
+ ## What It Does
6
+
7
+ Analyzes Figma designs or screenshots to assess feasibility:
8
+ - πŸ” Identifies which UI elements can be built with EXISTING components
9
+ - πŸ”§ Determines which components need MODIFICATIONS to match the design
10
+ - πŸ†• Highlights which UI elements require NEW components to be built
11
+ - πŸ“ Generates a detailed markdown report with findings
12
+
13
+ ## Key Concept
14
+
15
+ **This skill does ANALYSIS, not CODE GENERATION!**
16
+
17
+ - ❌ Does NOT generate page code (use `/create-page` for that)
18
+ - ❌ Does NOT modify or create components
19
+ - βœ… DOES assess what's possible with current components
20
+ - βœ… DOES identify gaps in the component library
21
+ - βœ… DOES provide actionable recommendations
22
+ - βœ… DOES write a detailed markdown report
23
+
24
+ Think of it like:
25
+ - **Input**: Figma design or screenshot with various UI elements
26
+ - **Process**: Sophia analyzes each element against available components
27
+ - **Output**: Markdown report documenting what's possible, what needs work, and what's missing
28
+
29
+ ## Usage
30
+
31
+ ### With Figma URL
32
+
33
+ ```bash
34
+ /analyze-design https://figma.com/design/ABC123/MyDesign?node-id=1-2
35
+ ```
36
+
37
+ ### With Screenshot
38
+
39
+ ```bash
40
+ /analyze-design /path/to/screenshot.png
41
+ ```
42
+
43
+ Or just:
44
+ ```bash
45
+ /analyze-design
46
+ ```
47
+ Then provide the screenshot path when prompted.
48
+
49
+ ## What You Get
50
+
51
+ A detailed markdown report documenting the feasibility assessment:
52
+
53
+ ```
54
+ .claude/
55
+ β”œβ”€β”€ figma-assessment-ABC123-1-2.md # For Figma URLs
56
+ └── design-assessment-2026-02-19.md # For screenshots
57
+ ```
58
+
59
+ **Report structure**:
60
+ 1. **Design Overview** - What the design shows
61
+ 2. **UI Elements Identified** - Complete catalog of UI elements
62
+ 3. **Assessment**:
63
+ - βœ… **Possible with Current Components** - What can be built now
64
+ - πŸ”§ **Components Needing Modifications** - What needs tweaking
65
+ - πŸ†• **New Components Required** - What doesn't exist yet
66
+ 4. **Summary** - Feasibility score and overall recommendation
67
+ 5. **Next Steps** - How to proceed with implementation
68
+
69
+ ## The Analysis Process
70
+
71
+ 1. **Fetch/Read Design**: Gets design from Figma or reads screenshot
72
+ 2. **Catalog Elements**: Lists all UI elements (buttons, forms, tables, etc.)
73
+ 3. **Review Library**: Checks what components are available in `src/index.ts`
74
+ 4. **Call Sophia** πŸ‘œ: Launches the componentspert agent for expert analysis
75
+ 5. **Generate Report**: Creates detailed markdown with findings
76
+ 6. **Present Summary**: Shows feasibility score and key recommendations
77
+
78
+ ## Sophia Componentspert
79
+
80
+ This skill relies on **Sophia**, our component library expert! She:
81
+ - Knows every component's API inside out
82
+ - Understands component capabilities and limitations
83
+ - Provides specific guidance on which components to use and how
84
+ - Identifies realistic gaps and modification needs
85
+
86
+ **MANDATORY**: This skill ALWAYS calls Sophia via the Task tool. Her analysis is the source of truth!
87
+
88
+ ## Supported Input Formats
89
+
90
+ ### Figma URLs
91
+ - `https://figma.com/design/:fileKey/:fileName?node-id=1-2`
92
+ - `https://figma.com/design/:fileKey/branch/:branchKey/:fileName?node-id=1-2`
93
+ - `https://figma.com/board/:fileKey/:fileName?node-id=1-2` (FigJam)
94
+
95
+ ### Screenshots
96
+ - `.png`, `.jpg`, `.jpeg` files
97
+ - Can be anywhere on your filesystem
98
+
99
+ ## Example Report Output
100
+
101
+ ```markdown
102
+ # Design Feasibility Assessment
103
+
104
+ **Date**: 2026-02-19
105
+ **Source**: https://figma.com/design/ABC123/UserProfile?node-id=42-100
106
+
107
+ ## Assessment
108
+
109
+ ### βœ… Possible with Current Components (8/10 elements)
110
+
111
+ - **Profile form fields** β†’ Use `FormField` with `inputType="text"`
112
+ - **Save button** β†’ Use `Button` with `variant="primary"`
113
+ - **Cancel button** β†’ Use `Button` with `variant="secondary"`
114
+ - **Avatar image** β†’ Use semantic `<img>` tag with custom styling
115
+ - **Section headers** β†’ Use `Heading` component with `level={2}`
116
+ - **Data table** β†’ Use `Table` component with AG Grid
117
+ - **Badge indicators** β†’ Use `Pill` component
118
+ - **Dividers** β†’ Use `Separator` component
119
+
120
+ ### πŸ”§ Components Needing Modifications (1 component)
121
+
122
+ - **Component**: `Button`
123
+ - **Current limitation**: No icon-only variant for toolbar actions
124
+ - **Required modification**: Add `variant="icon-only"` prop
125
+ - **Impact**: Low - just needs new variant prop and minimal styling
126
+
127
+ ### πŸ†• New Components Required (1 element)
128
+
129
+ - **Design element**: File upload dropzone with drag-and-drop
130
+ - **Why existing components don't fit**: No component handles file uploads with drag-and-drop UI
131
+ - **Suggested component**: `FileUpload`
132
+ - **Key features needed**:
133
+ - Drag-and-drop zone
134
+ - File preview thumbnails
135
+ - Progress indicators
136
+ - Multiple file support
137
+
138
+ ## Summary
139
+
140
+ **Feasibility Score**: 8/10 elements ready to build
141
+
142
+ - βœ… **Ready to build**: 8 elements
143
+ - πŸ”§ **Needs modifications**: 1 component
144
+ - πŸ†• **Requires new components**: 1 element
145
+
146
+ **Recommendation**: HIGHLY FEASIBLE! The majority of this design can be built immediately. Consider adding the icon-only button variant and FileUpload component for complete coverage.
147
+ ```
148
+
149
+ ## When to Use This Skill
150
+
151
+ **Use this skill BEFORE `/create-page` to**:
152
+ - Assess feasibility of a design
153
+ - Identify component gaps
154
+ - Plan component development work
155
+ - Get specific component recommendations
156
+
157
+ **Use `/create-page` AFTER this skill when**:
158
+ - The design is highly feasible (most elements covered)
159
+ - You've addressed any critical modifications
160
+ - You're ready to generate actual page code
161
+
162
+ ## What Gets Analyzed
163
+
164
+ The skill catalogs and assesses:
165
+
166
+ ### Forms
167
+ - Text inputs, number inputs, textareas
168
+ - Select dropdowns, multi-selects
169
+ - Radio buttons, checkboxes
170
+ - Form validation and error states
171
+
172
+ ### Buttons & Actions
173
+ - Primary, secondary, tertiary buttons
174
+ - Icon buttons, text links
175
+ - Dropdown buttons, split buttons
176
+
177
+ ### Data Display
178
+ - Tables and data grids
179
+ - Cards and containers
180
+ - Lists and list items
181
+ - Tags, badges, pills
182
+
183
+ ### Navigation
184
+ - Tabs, breadcrumbs
185
+ - Navigation menus, dropdowns
186
+
187
+ ### Overlays
188
+ - Modals, dialogs
189
+ - Slideovers, side panels
190
+ - Tooltips, popovers
191
+
192
+ ### Layout Elements
193
+ - Headings, sections
194
+ - Dividers, separators
195
+ - Containers, wrappers
196
+
197
+ ### And More!
198
+ - Icons, avatars
199
+ - Progress indicators
200
+ - Empty states
201
+ - Loading states
202
+
203
+ ## Feasibility Scoring
204
+
205
+ Reports include a feasibility score:
206
+ - **High Feasibility**: 80%+ elements covered with existing components
207
+ - **Moderate Feasibility**: 50-80% elements covered, some modifications needed
208
+ - **Low Feasibility**: <50% elements covered, significant new component work required
209
+
210
+ ## Next Steps After Analysis
211
+
212
+ Based on the report:
213
+
214
+ 1. **If highly feasible**: Use `/create-page` to generate the page code
215
+ 2. **If modifications needed**: Implement component tweaks first, then generate page
216
+ 3. **If new components required**:
217
+ - Decide: build new components OR adjust design to use existing ones
218
+ - Build new components if justified
219
+ - Then use `/create-page`
220
+
221
+ ## Benefits
222
+
223
+ - **Informed decisions**: Know what's possible before writing code
224
+ - **Component gap analysis**: Identify what's missing from the library
225
+ - **Prioritization**: Understand which components need work first
226
+ - **Documentation**: Markdown reports serve as permanent records
227
+ - **Team alignment**: Share reports with designers and developers
228
+
229
+ ## Output Location
230
+
231
+ Reports are stored in `.claude/` directory:
232
+ - **Figma assessments**: `.claude/figma-assessment-{fileKey}-{nodeId}.md`
233
+ - **Screenshot assessments**: `.claude/design-assessment-{timestamp}.md`
234
+
235
+ These files are:
236
+ - βœ… Committed to git (tracked in version control)
237
+ - βœ… Shareable with the team
238
+ - βœ… Permanent record of design feasibility assessments
239
+
240
+ ## Tips
241
+
242
+ - **Be specific with Figma URLs**: Link to the exact frame/page you want analyzed
243
+ - **Use high-quality screenshots**: Clear images = better analysis
244
+ - **Review the full report**: The markdown file has more detail than the console summary
245
+ - **Share with designers**: Help them understand component capabilities
246
+ - **Iterate**: Run multiple analyses as designs evolve
247
+
248
+ ## Example Workflows
249
+
250
+ ### Workflow 1: New Feature Assessment
251
+ ```bash
252
+ # Designer shares Figma design for new feature
253
+ /analyze-design https://figma.com/design/XYZ/NewFeature?node-id=100-200
254
+
255
+ # Review report shows:
256
+ # - 80% feasible with current components
257
+ # - Need to add loading state to Modal component
258
+ # - Need new DatePicker component
259
+
260
+ # Decision: Build DatePicker, enhance Modal, then proceed
261
+ ```
262
+
263
+ ### Workflow 2: Quick Screenshot Analysis
264
+ ```bash
265
+ # Designer sends screenshot in Slack
266
+ # Save screenshot locally
267
+ /analyze-design ~/Downloads/design-mockup.png
268
+
269
+ # Review report shows everything is covered
270
+ # Proceed immediately to /create-page with Figma URL
271
+ ```
272
+
273
+ ### Workflow 3: Component Library Audit
274
+ ```bash
275
+ # Analyze multiple designs to identify common gaps
276
+ /analyze-design [design-1-url]
277
+ /analyze-design [design-2-url]
278
+ /analyze-design [design-3-url]
279
+
280
+ # Review all reports
281
+ # Identify most-needed missing components
282
+ # Prioritize component development
283
+ ```
284
+
285
+ ## Notes
286
+
287
+ - This codebase serves millions of users - accurate assessments matter!
288
+ - Sophia's analysis is thorough and considers component APIs realistically
289
+ - Reports are optimistic but honest about gaps and limitations
290
+ - Uses yarn (NOT npm) for all commands
291
+ - Follows /r/THE_PACK energy: BOMBASS, AROOO! 🐺
292
+ - Most excellent and bodacious like Bill & Ted
293
+ - Team Jacob forever! 🐺
294
+
295
+ AROOOOO!! LET'S ANALYZE SOME BODACIOUS DESIGNS AND SEE WHAT'S POSSIBLE, HUNNI!! xxx πŸ’ͺ🏍️✨