@common-origin/design-system 2.7.0 → 2.8.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,2 +1,25 @@
1
1
  export type IconName = 'add' | 'addRing' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'bell' | 'cancel' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'checkRing' | 'close' | 'copy' | 'crossCircle' | 'directionRight' | 'directionUp' | 'edit' | 'export' | 'fileDocSearch' | 'filter' | 'info' | 'lamp' | 'lineOut' | 'link' | 'menu' | 'message' | 'mic' | 'order' | 'paper' | 'pause' | 'play' | 'playBack' | 'refresh' | 'remove' | 'search' | 'star' | 'starFilled' | 'table' | 'trash' | 'userBox' | 'view' | 'viewHide';
2
+ /** Semantic category for grouping icons by purpose */
3
+ export type IconCategory = 'action' | 'communication' | 'content' | 'feedback' | 'media' | 'navigation' | 'object' | 'status' | 'user';
4
+ /** Enriched metadata for each icon entry in icons.json */
5
+ export interface IconMetadata {
6
+ /** SVG path data */
7
+ path: string;
8
+ /** Display name of the icon */
9
+ name: string;
10
+ /** What the icon visually depicts */
11
+ description: string;
12
+ /** Semantic category for grouping */
13
+ category: IconCategory;
14
+ /** Alternative names and search terms */
15
+ aliases: string[];
16
+ /** When and why to use this icon */
17
+ intent: string;
18
+ /** Whether the icon is typically decorative (true) or informative (false) */
19
+ decorativeDefault: boolean;
20
+ /** Suggested accessible label when the icon conveys meaning */
21
+ ariaLabelDefault: string;
22
+ }
23
+ /** The full icon registry keyed by IconName */
24
+ export type IconRegistry = Record<IconName, IconMetadata>;
2
25
  export { default as iconsData } from '../styles/icons.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-origin/design-system",
3
- "version": "2.7.0",
3
+ "version": "2.8.1",
4
4
  "description": "Common Origin Design System - Framework-agnostic atomic design components with comprehensive WCAG 2.2 AA testing",
5
5
  "private": false,
6
6
  "main": "dist/index.js",