@akcelik/strct 0.26.0 → 0.28.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akcelik/strct",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
5
5
  "author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
6
6
  "license": "MIT",
@@ -113,8 +113,16 @@ declare const STRCT_RAW_ICONS: Record<string, string>;
113
113
  declare function registerStrctIcon(name: string, content: string, options?: {
114
114
  raw?: boolean;
115
115
  }): void;
116
- /** Icon status dot variants. */
117
- type StrctIconBadge = 'none' | 'success' | 'warning' | 'critical' | 'off' | 'info' | 'maintenance';
116
+ /**
117
+ * Icon status badge variants — two families, both color-blind safe:
118
+ *
119
+ * **Health** (silhouette-coded): circle ✓ success · triangle ! warning ·
120
+ * diamond × critical · circle i info · circle wrench maintenance.
121
+ *
122
+ * **Lifecycle** (vCenter media language — glyphs in a badge disc):
123
+ * green disc ▶ running · amber disc ⏸ paused · grey disc ■ off.
124
+ */
125
+ type StrctIconBadge = 'none' | 'success' | 'warning' | 'critical' | 'running' | 'paused' | 'off' | 'info' | 'maintenance';
118
126
  /**
119
127
  * Inline stroke icon. `<strct-icon name="host" badge="success" />` renders the host
120
128
  * glyph with a green status dot (a "running host"). Unknown names render