@neuravision/ng-construct 0.3.1 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuravision/ng-construct",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Angular components for the Construct Design System",
5
5
  "keywords": [
6
6
  "angular",
@@ -12,7 +12,8 @@
12
12
  "@angular/common": "^21.1.0",
13
13
  "@angular/core": "^21.1.0",
14
14
  "@angular/router": "^21.1.0",
15
- "@neuravision/construct": "^1.0.0"
15
+ "@neuravision/construct": "^1.1.2",
16
+ "@lucide/angular": "^1.0.0-rc.0"
16
17
  },
17
18
  "dependencies": {
18
19
  "tslib": "^2.3.0"
@@ -1276,23 +1276,33 @@ declare class AfSidebarComponent {
1276
1276
 
1277
1277
  type AfIconSize = 'sm' | 'md' | 'lg' | 'xl';
1278
1278
  /**
1279
- * Icon component that abstracts the icon rendering strategy.
1279
+ * Icon wrapper that applies Construct Design System sizing via `ct-icon` classes.
1280
1280
  *
1281
- * Currently uses Material Icons font ligatures. The icon strategy
1282
- * can be changed centrally without modifying consumers.
1281
+ * Uses content projection so any icon source can be used:
1282
+ * Lucide, custom SVGs, or other icon libraries.
1283
1283
  *
1284
- * @example
1285
- * <af-icon name="delete" />
1286
- * <af-icon name="edit" size="sm" />
1284
+ * @example Using with Lucide
1285
+ * ```html
1286
+ * <af-icon size="sm">
1287
+ * <lucide-x />
1288
+ * </af-icon>
1289
+ * ```
1290
+ *
1291
+ * @example Using with inline SVG
1292
+ * ```html
1293
+ * <af-icon size="lg">
1294
+ * <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
1295
+ * <circle cx="12" cy="12" r="10" />
1296
+ * </svg>
1297
+ * </af-icon>
1298
+ * ```
1287
1299
  */
1288
1300
  declare class AfIconComponent {
1289
- /** Material Icon name (ligature) */
1290
- name: _angular_core.InputSignal<string>;
1291
1301
  /** Icon size variant */
1292
1302
  size: _angular_core.InputSignal<AfIconSize>;
1293
1303
  iconClasses: _angular_core.Signal<string>;
1294
1304
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AfIconComponent, never>;
1295
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfIconComponent, "af-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1305
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AfIconComponent, "af-icon", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1296
1306
  }
1297
1307
 
1298
1308
  type AfSliderSize = 'sm' | 'md' | 'lg';