diff --git a/changelog.md b/changelog.md index 26ce7a4..b5f56e8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2026-02-16 - 3.42.2 - fix(dees-chart-area) +add ApexAxisChartSeries type to dees-chart-area component to improve typing for ApexCharts series data + +- Introduces ApexAxisChartSeries type alias with support for number arrays, [x,y] tuples, and object {x,y,...} series entries +- Type-only change — no runtime or API behavior modified +- File changed: ts_web/elements/00group-chart/dees-chart-area/component.ts + ## 2026-02-16 - 3.42.1 - fix(dees-table) Guard against undefined action.type in dees-table by using optional chaining and update several dependencies diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 5ce73d5..506b29d 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-catalog', - version: '3.42.1', + version: '3.42.2', description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.' } diff --git a/ts_web/elements/00group-chart/dees-chart-area/component.ts b/ts_web/elements/00group-chart/dees-chart-area/component.ts index a7df1f9..75cd85a 100644 --- a/ts_web/elements/00group-chart/dees-chart-area/component.ts +++ b/ts_web/elements/00group-chart/dees-chart-area/component.ts @@ -12,6 +12,16 @@ import { chartAreaStyles } from './styles.js'; import { renderChartArea } from './template.js'; import type ApexCharts from 'apexcharts'; + +type ApexAxisChartSeries = { + name?: string; + type?: string; + color?: string; + group?: string; + hidden?: boolean; + zIndex?: number; + data: (number | null)[] | { x: any; y: any; [key: string]: any }[] | [number, number | null][] | number[][]; +}[]; import { DeesServiceLibLoader } from '../../../services/index.js'; declare global {