@spaced-out/ui-design-system 0.6.8 → 0.6.9

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.6.9](https://github.com/spaced-out/ui-design-system/compare/v0.6.8...v0.6.9) (2026-04-10)
6
+
7
+
8
+ ### Features
9
+
10
+ * [GDS-559]added universal chart to follow chart transitions ([#473](https://github.com/spaced-out/ui-design-system/issues/473)) ([b88cbba](https://github.com/spaced-out/ui-design-system/commit/b88cbba3293d4cfa86e2daff178769f1b94a7a83))
11
+
5
12
  ### [0.6.8](https://github.com/spaced-out/ui-design-system/compare/v0.6.7...v0.6.8) (2026-04-09)
6
13
 
7
14
 
@@ -0,0 +1,22 @@
1
+ import * as React from 'react';
2
+ import type { CategoricalChartKind, ChartKindOptionType, FlowChartKind, ProportionChartKind, UniversalChartProps } from '../../../components/Charts/UniversalChart/UniversalChart.types';
3
+ export declare const CHART_KIND_OPTIONS: Readonly<{
4
+ column: ChartKindOptionType<"column">;
5
+ line: ChartKindOptionType<"line">;
6
+ donut: ChartKindOptionType<"donut">;
7
+ funnel: ChartKindOptionType<"funnel">;
8
+ sankey: ChartKindOptionType<"sankey">;
9
+ spider: ChartKindOptionType<"spider">;
10
+ stackedBar: ChartKindOptionType<"stackedBar">;
11
+ }>;
12
+ export declare const CHART_KIND_GROUPS: Readonly<{
13
+ CATEGORICAL: Array<ChartKindOptionType<CategoricalChartKind>>;
14
+ PROPORTION: Array<ChartKindOptionType<ProportionChartKind>>;
15
+ FLOW: Array<ChartKindOptionType<FlowChartKind>>;
16
+ }>;
17
+ export type { UniversalChartProps, ChartKind, ChartKindOptionType, ChartKindSelectorProps, CategoricalChartKind, ProportionChartKind, FlowChartKind, } from '../../../components/Charts/UniversalChart/UniversalChart.types';
18
+ export declare const UniversalChart: {
19
+ (props: UniversalChartProps): React.JSX.Element;
20
+ displayName: string;
21
+ };
22
+ //# sourceMappingURL=UniversalChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniversalChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/UniversalChart/UniversalChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EACV,oBAAoB,EAEpB,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2DAA2D,CAAC;AAOnE,eAAO,MAAM,kBAAkB;YAIxB,mBAAmB,CAAC,QAAQ,CAAC;UACU,mBAAmB,CAAC,MAAM,CAAC;WACxB,mBAAmB,CAAC,OAAO,CAAC;YAItE,mBAAmB,CAAC,QAAQ,CAAC;YAI7B,mBAAmB,CAAC,QAAQ,CAAC;YAI7B,mBAAmB,CAAC,QAAQ,CAAC;gBAI7B,mBAAmB,CAAC,YAAY,CAAC;EACtC,CAAC;AAEH,eAAO,MAAM,iBAAiB;iBAMvB,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;gBACgB,KAAK,CACxE,mBAAmB,CAAC,mBAAmB,CAAC,CACzC;UACoC,KAAK,CACxC,mBAAmB,CAAC,aAAa,CAAC,CACnC;EACD,CAAC;AAmBH,YAAY,EACV,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,GACd,MAAM,2DAA2D,CAAC;AAEnE,eAAO,MAAM,cAAc;YAAW,mBAAmB;;CA6OxD,CAAC"}
@@ -0,0 +1,278 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UniversalChart = exports.CHART_KIND_OPTIONS = exports.CHART_KIND_GROUPS = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _size = require("../../../styles/variables/_size");
9
+ var _classify = _interopRequireDefault(require("../../../utils/classify"));
10
+ var _qa = require("../../../utils/qa");
11
+ var _ButtonDropdown = require("../../ButtonDropdown");
12
+ var _ChartWrapper = require("../ChartWrapper");
13
+ var _ColumnChart = require("../ColumnChart");
14
+ var _DonutChart = require("../DonutChart");
15
+ var _FunnelChart = require("../FunnelChart");
16
+ var _LineChart = require("../LineChart");
17
+ var _SankeyChart = require("../SankeyChart");
18
+ var _SpiderChart = require("../SpiderChart");
19
+ var _StackedBarChart = require("../StackedBarChart");
20
+ var _EmptyState = require("../../EmptyState");
21
+ var _UniversalChartModule = _interopRequireDefault(require("./UniversalChart.module.css"));
22
+ var _jsxRuntime = require("react/jsx-runtime");
23
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
24
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
25
+ const CHART_KIND_OPTIONS = exports.CHART_KIND_OPTIONS = Object.freeze({
26
+ column: {
27
+ key: 'column',
28
+ label: 'Column Chart'
29
+ },
30
+ line: {
31
+ key: 'line',
32
+ label: 'Line Chart'
33
+ },
34
+ donut: {
35
+ key: 'donut',
36
+ label: 'Donut Chart'
37
+ },
38
+ funnel: {
39
+ key: 'funnel',
40
+ label: 'Funnel Chart'
41
+ },
42
+ sankey: {
43
+ key: 'sankey',
44
+ label: 'Sankey Chart'
45
+ },
46
+ spider: {
47
+ key: 'spider',
48
+ label: 'Spider Chart'
49
+ },
50
+ stackedBar: {
51
+ key: 'stackedBar',
52
+ label: 'Stacked Bar Chart'
53
+ }
54
+ });
55
+ const CHART_KIND_GROUPS = exports.CHART_KIND_GROUPS = Object.freeze({
56
+ CATEGORICAL: [CHART_KIND_OPTIONS.column, CHART_KIND_OPTIONS.line, CHART_KIND_OPTIONS.stackedBar, CHART_KIND_OPTIONS.spider],
57
+ PROPORTION: [CHART_KIND_OPTIONS.donut, CHART_KIND_OPTIONS.funnel],
58
+ FLOW: [CHART_KIND_OPTIONS.sankey]
59
+ });
60
+ const sortSeriesDescending = series => series.map(item => ({
61
+ ...item,
62
+ data: [...item.data].sort((a, b) => (b.y ?? 0) - (a.y ?? 0))
63
+ }));
64
+ const getGroupForKind = kind => {
65
+ for (const group of Object.values(CHART_KIND_GROUPS)) {
66
+ if (group.some(opt => opt.key === kind)) {
67
+ return group.map(opt => opt.key);
68
+ }
69
+ }
70
+ return [kind];
71
+ };
72
+ const UniversalChart = props => {
73
+ const {
74
+ chartKind,
75
+ showChartKindSwitcher = false,
76
+ chartKindOptions,
77
+ onChartKindChange,
78
+ responsive = true
79
+ } = props;
80
+ const classNames = 'classNames' in props ? props.classNames : undefined;
81
+ const responsiveClassNames = responsive ? {
82
+ ...classNames,
83
+ highChart: (0, _classify.default)(classNames?.highChart, _UniversalChartModule.default.responsiveChart)
84
+ } : classNames;
85
+ const testId = 'testId' in props ? props.testId : undefined;
86
+ const cardTitle = 'cardTitle' in props ? props.cardTitle : undefined;
87
+ const headerActions = 'headerActions' in props ? props.headerActions : undefined;
88
+ const chartKindMenuOptions = React.useMemo(() => {
89
+ if (!showChartKindSwitcher) {
90
+ return undefined;
91
+ }
92
+ const compatibleGroup = getGroupForKind(chartKind);
93
+ const source = chartKindOptions ? chartKindOptions.filter(option => compatibleGroup.includes(option.key)) : compatibleGroup.map(kind => CHART_KIND_OPTIONS[kind]);
94
+ const options = source.map(_ref => {
95
+ let {
96
+ key,
97
+ label
98
+ } = _ref;
99
+ return {
100
+ key,
101
+ label
102
+ };
103
+ });
104
+ return options.length > 0 ? options : undefined;
105
+ }, [showChartKindSwitcher, chartKindOptions, chartKind]);
106
+ const handleChartKindSelect = React.useCallback(option => {
107
+ onChartKindChange?.(option.key);
108
+ }, [onChartKindChange]);
109
+ const switcherElement = showChartKindSwitcher && chartKindMenuOptions ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonDropdown.ButtonDropdown, {
110
+ ariaLabel: "Switch Chart Type",
111
+ menu: {
112
+ isFluid: false,
113
+ menuDisabled: false,
114
+ options: chartKindMenuOptions,
115
+ selectedKeys: [chartKind],
116
+ size: 'medium',
117
+ width: _size.size180
118
+ },
119
+ iconLeftName: "chart-mixed",
120
+ onOptionSelect: handleChartKindSelect,
121
+ size: "small",
122
+ type: "ghost",
123
+ anchorPosition: _ButtonDropdown.ANCHOR_POSITION_TYPE.bottomEnd,
124
+ testId: (0, _qa.generateTestId)({
125
+ base: testId,
126
+ slot: 'chart-kind-selector'
127
+ })
128
+ }) : null;
129
+ const combinedHeaderActions = switcherElement || headerActions ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
130
+ children: [switcherElement, headerActions]
131
+ }) : undefined;
132
+ const consumerChart = 'chart' in props ? props.chart : undefined;
133
+ const responsiveChart = responsive ? {
134
+ ...consumerChart,
135
+ height: '60%'
136
+ } : consumerChart;
137
+ switch (props.chartKind) {
138
+ case 'column':
139
+ {
140
+ const {
141
+ chartKind: _chartKind,
142
+ showChartKindSwitcher: _showChartKindSwitcher,
143
+ chartKindOptions: _chartKindOptions,
144
+ onChartKindChange: _onChartKindChange,
145
+ responsive: _responsive,
146
+ ...rest
147
+ } = props;
148
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ColumnChart.ColumnChart, {
149
+ ...rest,
150
+ chart: responsiveChart,
151
+ headerActions: combinedHeaderActions,
152
+ classNames: responsiveClassNames
153
+ });
154
+ }
155
+ case 'line':
156
+ {
157
+ const {
158
+ chartKind: _chartKind,
159
+ showChartKindSwitcher: _showChartKindSwitcher,
160
+ chartKindOptions: _chartKindOptions,
161
+ onChartKindChange: _onChartKindChange,
162
+ responsive: _responsive,
163
+ ...rest
164
+ } = props;
165
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_LineChart.LineChart, {
166
+ ...rest,
167
+ chart: responsiveChart,
168
+ headerActions: combinedHeaderActions,
169
+ classNames: responsiveClassNames
170
+ });
171
+ }
172
+ case 'donut':
173
+ {
174
+ const {
175
+ chartKind: _chartKind,
176
+ showChartKindSwitcher: _showChartKindSwitcher,
177
+ chartKindOptions: _chartKindOptions,
178
+ onChartKindChange: _onChartKindChange,
179
+ responsive: _responsive,
180
+ ...rest
181
+ } = props;
182
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DonutChart.DonutChart, {
183
+ ...rest,
184
+ headerActions: combinedHeaderActions,
185
+ classNames: responsiveClassNames
186
+ });
187
+ }
188
+ case 'funnel':
189
+ {
190
+ const {
191
+ chartKind: _chartKind,
192
+ showChartKindSwitcher: _showChartKindSwitcher,
193
+ chartKindOptions: _chartKindOptions,
194
+ onChartKindChange: _onChartKindChange,
195
+ responsive: _responsive,
196
+ ...rest
197
+ } = props;
198
+ const sortedSeries = sortSeriesDescending(rest.series);
199
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_FunnelChart.FunnelChart, {
200
+ ...rest,
201
+ chart: responsiveChart,
202
+ series: sortedSeries,
203
+ headerActions: combinedHeaderActions,
204
+ classNames: responsiveClassNames
205
+ });
206
+ }
207
+ case 'sankey':
208
+ {
209
+ const {
210
+ chartKind: _chartKind,
211
+ showChartKindSwitcher: _showChartKindSwitcher,
212
+ chartKindOptions: _chartKindOptions,
213
+ onChartKindChange: _onChartKindChange,
214
+ responsive: _responsive,
215
+ ...rest
216
+ } = props;
217
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SankeyChart.SankeyChart, {
218
+ ...rest,
219
+ chart: responsiveChart,
220
+ headerActions: combinedHeaderActions,
221
+ classNames: responsiveClassNames
222
+ });
223
+ }
224
+ case 'spider':
225
+ {
226
+ const {
227
+ chartKind: _chartKind,
228
+ showChartKindSwitcher: _showChartKindSwitcher,
229
+ chartKindOptions: _chartKindOptions,
230
+ onChartKindChange: _onChartKindChange,
231
+ responsive: _responsive,
232
+ ...rest
233
+ } = props;
234
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SpiderChart.SpiderChart, {
235
+ ...rest,
236
+ chart: responsiveChart,
237
+ headerActions: combinedHeaderActions,
238
+ classNames: responsiveClassNames
239
+ });
240
+ }
241
+ case 'stackedBar':
242
+ {
243
+ const {
244
+ chartKind: _chartKind,
245
+ showChartKindSwitcher: _showChartKindSwitcher,
246
+ chartKindOptions: _chartKindOptions,
247
+ onChartKindChange: _onChartKindChange,
248
+ responsive: _responsive,
249
+ ...rest
250
+ } = props;
251
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_StackedBarChart.StackedBarChart, {
252
+ ...rest,
253
+ chart: responsiveChart,
254
+ headerActions: combinedHeaderActions,
255
+ classNames: responsiveClassNames
256
+ });
257
+ }
258
+ default:
259
+ {
260
+ const _exhaustive = props;
261
+ const unsupportedKind = _exhaustive.chartKind;
262
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartWrapper.ChartWrapper, {
263
+ title: cardTitle,
264
+ headerActions: combinedHeaderActions,
265
+ classNames: responsiveClassNames,
266
+ testId: testId,
267
+ hasEmptyData: true,
268
+ emptyText: /*#__PURE__*/(0, _jsxRuntime.jsx)(_EmptyState.EmptyState, {
269
+ imageVariant: "chart",
270
+ title: "Unsupported chart type",
271
+ description: `Chart kind "${unsupportedKind}" is not supported.`
272
+ })
273
+ });
274
+ }
275
+ }
276
+ };
277
+ exports.UniversalChart = UniversalChart;
278
+ UniversalChart.displayName = 'UniversalChart';
@@ -0,0 +1,7 @@
1
+ @value (size300) from '../../../styles/variables/_size.css';
2
+
3
+ .responsiveChart {
4
+ max-height: none;
5
+ min-width: size300;
6
+ min-height: size300;
7
+ }
@@ -0,0 +1,37 @@
1
+ import type { ColumnChartProps } from '../../../components/Charts/ColumnChart';
2
+ import type { DonutChartProps } from '../../../components/Charts/DonutChart';
3
+ import type { FunnelChartProps } from '../../../components/Charts/FunnelChart';
4
+ import type { LineChartProps } from '../../../components/Charts/LineChart';
5
+ import type { SankeyChartProps } from '../../../components/Charts/SankeyChart';
6
+ import type { SpiderChartProps } from '../../../components/Charts/SpiderChart';
7
+ import type { StackedBarChartProps } from '../../../components/Charts/StackedBarChart';
8
+ export type ChartKind = 'column' | 'line' | 'donut' | 'funnel' | 'sankey' | 'spider' | 'stackedBar';
9
+ export type CategoricalChartKind = 'column' | 'line' | 'stackedBar' | 'spider';
10
+ export type ProportionChartKind = 'donut' | 'funnel';
11
+ export type FlowChartKind = 'sankey';
12
+ export interface ChartKindOptionType<K extends ChartKind = ChartKind> {
13
+ key: K;
14
+ label: string;
15
+ }
16
+ export interface ChartKindSelectorProps {
17
+ showChartKindSwitcher?: boolean;
18
+ chartKindOptions?: Array<ChartKindOptionType<CategoricalChartKind>> | Array<ChartKindOptionType<ProportionChartKind>> | Array<ChartKindOptionType<FlowChartKind>>;
19
+ onChartKindChange?: (chartKind: ChartKind) => void;
20
+ responsive?: boolean;
21
+ }
22
+ export type UniversalChartProps = (({
23
+ chartKind: 'column';
24
+ } & ColumnChartProps) | ({
25
+ chartKind: 'line';
26
+ } & LineChartProps) | ({
27
+ chartKind: 'donut';
28
+ } & DonutChartProps) | ({
29
+ chartKind: 'funnel';
30
+ } & FunnelChartProps) | ({
31
+ chartKind: 'sankey';
32
+ } & SankeyChartProps) | ({
33
+ chartKind: 'spider';
34
+ } & SpiderChartProps) | ({
35
+ chartKind: 'stackedBar';
36
+ } & StackedBarChartProps)) & ChartKindSelectorProps;
37
+ //# sourceMappingURL=UniversalChart.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniversalChart.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/UniversalChart/UniversalChart.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,uCAAuC,CAAC;AAGhF,MAAM,MAAM,SAAS,GACjB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,YAAY,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,CAAC;AACrD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;AAErC,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAClE,GAAG,EAAE,CAAC,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB,CAAC,EACb,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,GAChD,KAAK,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,GAC/C,KAAK,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,mBAAmB,GAAG,CAC9B,CAAC;IAAC,SAAS,EAAE,QAAQ,CAAA;CAAC,GAAG,gBAAgB,CAAC,GAC1C,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAC,GAAG,cAAc,CAAC,GACtC,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAC,GAAG,eAAe,CAAC,GACxC,CAAC;IAAC,SAAS,EAAE,QAAQ,CAAA;CAAC,GAAG,gBAAgB,CAAC,GAC1C,CAAC;IAAC,SAAS,EAAE,QAAQ,CAAA;CAAC,GAAG,gBAAgB,CAAC,GAC1C,CAAC;IAAC,SAAS,EAAE,QAAQ,CAAA;CAAC,GAAG,gBAAgB,CAAC,GAC1C,CAAC;IAAC,SAAS,EAAE,YAAY,CAAA;CAAC,GAAG,oBAAoB,CAAC,CACrD,GACC,sBAAsB,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,2 @@
1
+ export * from '../../../components/Charts/UniversalChart/UniversalChart';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/UniversalChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _UniversalChart = require("./UniversalChart");
7
+ Object.keys(_UniversalChart).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _UniversalChart[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _UniversalChart[key];
14
+ }
15
+ });
16
+ });
@@ -7,4 +7,5 @@ export * from '../../components/Charts/LineChart';
7
7
  export * from '../../components/Charts/SankeyChart';
8
8
  export * from '../../components/Charts/SpiderChart';
9
9
  export * from '../../components/Charts/StackedBarChart';
10
+ export * from '../../components/Charts/UniversalChart';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Charts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC"}
@@ -101,4 +101,15 @@ Object.keys(_StackedBarChart).forEach(function (key) {
101
101
  return _StackedBarChart[key];
102
102
  }
103
103
  });
104
+ });
105
+ var _UniversalChart = require("./UniversalChart");
106
+ Object.keys(_UniversalChart).forEach(function (key) {
107
+ if (key === "default" || key === "__esModule") return;
108
+ if (key in exports && exports[key] === _UniversalChart[key]) return;
109
+ Object.defineProperty(exports, key, {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _UniversalChart[key];
113
+ }
114
+ });
104
115
  });
package/mcp/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/genesis-mcp",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "MCP server for Genesis UI Design System - provides AI assistants with access to components, hooks, and design tokens",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Sense UI components library",
5
5
  "author": {
6
6
  "name": "Spaced Out"