@neural-ui/core 1.6.3 → 1.7.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/README.md CHANGED
@@ -166,10 +166,12 @@ For the full token list, see `styles/_tokens.scss` in the published package sour
166
166
  | `@angular/common` | `>=19.0.0 <23.0.0` |
167
167
  | `@angular/forms` | `>=19.0.0 <23.0.0` |
168
168
  | `@angular/router` | `>=19.0.0 <23.0.0` |
169
- | `@ng-icons/core` | `>=33.0.0` |
170
- | `@ng-icons/lucide` | `>=33.0.0` |
171
- | `apexcharts` | `>=5.0.0` |
172
- | `ng-apexcharts` | `>=2.0.0` |
169
+ | `@ng-icons/core` | `>=31.4.0 <34.0.0` |
170
+ | `@ng-icons/lucide` | `>=31.4.0 <34.0.0` |
171
+ | `apexcharts` | `>=4.0.0 <6.0.0` |
172
+ | `ng-apexcharts` | `>=1.15.0 <3.0.0` |
173
+
174
+ For Angular 19 projects, use `ng-apexcharts@1.15.x` with `apexcharts@4.x` or newer. Angular 20+ projects can use the newer `ng-apexcharts@2.x` line.
173
175
 
174
176
  ---
175
177
 
@@ -1,6 +1,6 @@
1
1
  import { makeEnvironmentProviders } from '@angular/core';
2
2
  import { provideIcons, provideNgIconsConfig } from '@ng-icons/core';
3
- import { lucideUpload, lucideMinus, lucideTrendingDown, lucideTrendingUp, lucideInbox, lucideExternalLink, lucideChevronLeft, lucideChevronRight, lucideX, lucideInfo, lucideAlertTriangle, lucideXCircle, lucideCheckCircle, lucideAlertCircle } from '@ng-icons/lucide';
3
+ import { lucideUpload, lucideMinus, lucideTrendingDown, lucideTrendingUp, lucideInbox, lucideExternalLink, lucideChevronLeft, lucideChevronRight, lucideX, lucideInfo, lucideTriangleAlert, lucideCircleX, lucideCircleCheck, lucideCircleAlert } from '@ng-icons/lucide';
4
4
 
5
5
  /**
6
6
  * Registra los providers necesarios para NeuralUI.
@@ -25,11 +25,11 @@ function provideNeuralUI(config = {}) {
25
25
  return makeEnvironmentProviders([
26
26
  provideIcons({
27
27
  // Input validation
28
- lucideAlertCircle,
28
+ lucideAlertCircle: lucideCircleAlert,
29
29
  // Toast severity icons
30
- lucideCheckCircle,
31
- lucideXCircle,
32
- lucideAlertTriangle,
30
+ lucideCheckCircle: lucideCircleCheck,
31
+ lucideXCircle: lucideCircleX,
32
+ lucideAlertTriangle: lucideTriangleAlert,
33
33
  lucideInfo,
34
34
  // Close buttons (sidebar, modal, toast)
35
35
  lucideX,
@@ -1 +1 @@
1
- {"version":3,"file":"neural-ui-core.mjs","sources":["../../../../projects/ui-core/provide-neural-ui.ts","../../../../projects/ui-core/public-api.ts","../../../../projects/ui-core/neural-ui-core.ts"],"sourcesContent":["import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { provideIcons, provideNgIconsConfig } from '@ng-icons/core';\nimport {\n lucideAlertCircle,\n lucideAlertTriangle,\n lucideCheckCircle,\n lucideChevronLeft,\n lucideChevronRight,\n lucideExternalLink,\n lucideInbox,\n lucideInfo,\n lucideMinus,\n lucideTrendingDown,\n lucideTrendingUp,\n lucideUpload,\n lucideX,\n lucideXCircle,\n} from '@ng-icons/lucide';\n\nexport interface NeuralUIConfig {\n /** Tamaño por defecto de los iconos. Por defecto: '1.25rem' / Default icon size. Default: '1.25rem' */\n iconSize?: string;\n /** Grosor de trazo de los iconos. Por defecto: '2' / Icon stroke width. Default: '2' */\n iconStrokeWidth?: string;\n}\n\n/**\n * Registra los providers necesarios para NeuralUI.\n *\n * Incluye los iconos internos de la librería y la configuración\n * por defecto de @ng-icons.\n *\n * @example\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [\n * provideNeuralUI(),\n * ],\n * };\n *\n * @example\n * // Con opciones personalizadas\n * provideNeuralUI({ iconSize: '1rem', iconStrokeWidth: '1.5' })\n */\nexport function provideNeuralUI(config: NeuralUIConfig = {}): EnvironmentProviders {\n const { iconSize = '1.25rem', iconStrokeWidth = '2' } = config;\n\n return makeEnvironmentProviders([\n provideIcons({\n // Input validation\n lucideAlertCircle,\n // Toast severity icons\n lucideCheckCircle,\n lucideXCircle,\n lucideAlertTriangle,\n lucideInfo,\n // Close buttons (sidebar, modal, toast)\n lucideX,\n // Nav chevrons + collapse toggle\n lucideChevronRight,\n lucideChevronLeft,\n // Nav external link\n lucideExternalLink,\n // EmptyState default icon\n lucideInbox,\n // StatsCard trend icons\n lucideTrendingUp,\n lucideTrendingDown,\n lucideMinus,\n // Uploader picker-only trigger\n lucideUpload,\n }),\n provideNgIconsConfig({ size: iconSize, strokeWidth: iconStrokeWidth }),\n ]);\n}\n","/*\n * Public API Surface of @neural-ui/core\n *\n * The root entry point only exports the setup function.\n * Import individual components from their specific entry points:\n * import { NeuButtonComponent } from '@neural-ui/core/button';\n * import { NeuTableComponent } from '@neural-ui/core/table';\n *\n * La raíz solo exporta la función de setup.\n * Importa los componentes individuales desde sus entry points específicos.\n */\n\n// ── Setup ─────────────────────────────────────────────────────────────────\nexport * from './provide-neural-ui';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AA0BA;;;;;;;;;;;;;;;;;AAiBG;AACG,SAAU,eAAe,CAAC,MAAA,GAAyB,EAAE,EAAA;IACzD,MAAM,EAAE,QAAQ,GAAG,SAAS,EAAE,eAAe,GAAG,GAAG,EAAE,GAAG,MAAM;AAE9D,IAAA,OAAO,wBAAwB,CAAC;AAC9B,QAAA,YAAY,CAAC;;YAEX,iBAAiB;;YAEjB,iBAAiB;YACjB,aAAa;YACb,mBAAmB;YACnB,UAAU;;YAEV,OAAO;;YAEP,kBAAkB;YAClB,iBAAiB;;YAEjB,kBAAkB;;YAElB,WAAW;;YAEX,gBAAgB;YAChB,kBAAkB;YAClB,WAAW;;YAEX,YAAY;SACb,CAAC;QACF,oBAAoB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AACvE,KAAA,CAAC;AACJ;;AC1EA;;;;;;;;;;AAUG;AAEH;;ACZA;;AAEG;;;;"}
1
+ {"version":3,"file":"neural-ui-core.mjs","sources":["../../../../projects/ui-core/provide-neural-ui.ts","../../../../projects/ui-core/public-api.ts","../../../../projects/ui-core/neural-ui-core.ts"],"sourcesContent":["import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { provideIcons, provideNgIconsConfig } from '@ng-icons/core';\nimport {\n lucideChevronLeft,\n lucideChevronRight,\n lucideCircleAlert,\n lucideCircleCheck,\n lucideCircleX,\n lucideExternalLink,\n lucideInbox,\n lucideInfo,\n lucideMinus,\n lucideTriangleAlert,\n lucideTrendingDown,\n lucideTrendingUp,\n lucideUpload,\n lucideX,\n} from '@ng-icons/lucide';\n\nexport interface NeuralUIConfig {\n /** Tamaño por defecto de los iconos. Por defecto: '1.25rem' / Default icon size. Default: '1.25rem' */\n iconSize?: string;\n /** Grosor de trazo de los iconos. Por defecto: '2' / Icon stroke width. Default: '2' */\n iconStrokeWidth?: string;\n}\n\n/**\n * Registra los providers necesarios para NeuralUI.\n *\n * Incluye los iconos internos de la librería y la configuración\n * por defecto de @ng-icons.\n *\n * @example\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [\n * provideNeuralUI(),\n * ],\n * };\n *\n * @example\n * // Con opciones personalizadas\n * provideNeuralUI({ iconSize: '1rem', iconStrokeWidth: '1.5' })\n */\nexport function provideNeuralUI(config: NeuralUIConfig = {}): EnvironmentProviders {\n const { iconSize = '1.25rem', iconStrokeWidth = '2' } = config;\n\n return makeEnvironmentProviders([\n provideIcons({\n // Input validation\n lucideAlertCircle: lucideCircleAlert,\n // Toast severity icons\n lucideCheckCircle: lucideCircleCheck,\n lucideXCircle: lucideCircleX,\n lucideAlertTriangle: lucideTriangleAlert,\n lucideInfo,\n // Close buttons (sidebar, modal, toast)\n lucideX,\n // Nav chevrons + collapse toggle\n lucideChevronRight,\n lucideChevronLeft,\n // Nav external link\n lucideExternalLink,\n // EmptyState default icon\n lucideInbox,\n // StatsCard trend icons\n lucideTrendingUp,\n lucideTrendingDown,\n lucideMinus,\n // Uploader picker-only trigger\n lucideUpload,\n }),\n provideNgIconsConfig({ size: iconSize, strokeWidth: iconStrokeWidth }),\n ]);\n}\n","/*\n * Public API Surface of @neural-ui/core\n *\n * The root entry point only exports the setup function.\n * Import individual components from their specific entry points:\n * import { NeuButtonComponent } from '@neural-ui/core/button';\n * import { NeuTableComponent } from '@neural-ui/core/table';\n *\n * La raíz solo exporta la función de setup.\n * Importa los componentes individuales desde sus entry points específicos.\n */\n\n// ── Setup ─────────────────────────────────────────────────────────────────\nexport * from './provide-neural-ui';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AA0BA;;;;;;;;;;;;;;;;;AAiBG;AACG,SAAU,eAAe,CAAC,MAAA,GAAyB,EAAE,EAAA;IACzD,MAAM,EAAE,QAAQ,GAAG,SAAS,EAAE,eAAe,GAAG,GAAG,EAAE,GAAG,MAAM;AAE9D,IAAA,OAAO,wBAAwB,CAAC;AAC9B,QAAA,YAAY,CAAC;;AAEX,YAAA,iBAAiB,EAAE,iBAAiB;;AAEpC,YAAA,iBAAiB,EAAE,iBAAiB;AACpC,YAAA,aAAa,EAAE,aAAa;AAC5B,YAAA,mBAAmB,EAAE,mBAAmB;YACxC,UAAU;;YAEV,OAAO;;YAEP,kBAAkB;YAClB,iBAAiB;;YAEjB,kBAAkB;;YAElB,WAAW;;YAEX,gBAAgB;YAChB,kBAAkB;YAClB,WAAW;;YAEX,YAAY;SACb,CAAC;QACF,oBAAoB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AACvE,KAAA,CAAC;AACJ;;AC1EA;;;;;;;;;;AAUG;AAEH;;ACZA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neural-ui/core",
3
- "version": "1.6.3",
3
+ "version": "1.7.0",
4
4
  "description": "Modern Angular UI component library built with signals, standalone components, and OnPush change detection.",
5
5
  "author": "PedroMorenoTrujillo",
6
6
  "keywords": [
@@ -14,15 +14,15 @@
14
14
  ],
15
15
  "license": "MIT",
16
16
  "peerDependencies": {
17
- "@angular/cdk": ">=19.0.0 <22.0.0",
18
- "@angular/common": ">=19.0.0 <22.0.0",
19
- "@angular/core": ">=19.0.0 <22.0.0",
20
- "@angular/forms": ">=19.0.0 <22.0.0",
21
- "@angular/router": ">=19.0.0 <22.0.0",
22
- "@ng-icons/core": ">=33.0.0",
23
- "@ng-icons/lucide": ">=33.0.0",
24
- "apexcharts": ">=5.0.0",
25
- "ng-apexcharts": ">=2.0.0"
17
+ "@angular/cdk": ">=19.0.0 <23.0.0",
18
+ "@angular/common": ">=19.0.0 <23.0.0",
19
+ "@angular/core": ">=19.0.0 <23.0.0",
20
+ "@angular/forms": ">=19.0.0 <23.0.0",
21
+ "@angular/router": ">=19.0.0 <23.0.0",
22
+ "@ng-icons/core": ">=31.4.0 <34.0.0",
23
+ "@ng-icons/lucide": ">=31.4.0 <34.0.0",
24
+ "apexcharts": ">=4.0.0 <6.0.0",
25
+ "ng-apexcharts": ">=1.15.0 <3.0.0"
26
26
  },
27
27
  "dependencies": {
28
28
  "tslib": "^2.3.0"
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "repository": {
35
35
  "type": "git",
36
- "url": "https://github.com/PedroMorenoTrujillo/neural-ui-workspace.git",
36
+ "url": "git+https://github.com/PedroMorenoTrujillo/neural-ui-workspace.git",
37
37
  "directory": "projects/ui-core"
38
38
  },
39
39
  "homepage": "https://neural-ui-three.vercel.app",