@brad-frost-web/eddie-charts 0.66.0 → 0.68.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.
@@ -42,6 +42,7 @@ export interface BarChartData {
42
42
  * @related ed-r-line-chart — for continuous/time-series data instead of categories
43
43
  * @related ed-r-doughnut — for parts-of-a-whole
44
44
  * @related ed-table — the accessible data-table equivalent
45
+ * @related ed-r-projection — actual against expected; ed-r-stat-card — one or two headline numbers
45
46
  *
46
47
  * @content Bars for comparing categories; use horizontal when labels are long. Always supply `dataTable`; label axes via `yFormat`.
47
48
  *
@@ -50,13 +51,36 @@ export interface BarChartData {
50
51
  * between the chart and the data table.
51
52
  *
52
53
  * @recipe declarative
54
+ *
55
+ * @useWhen readers should see which of several categories leads, and by how much — teams, products, channels, answers to a survey
56
+ * @useWhen this year should sit beside last year for every category, or a total should show what it is made of
57
+ *
58
+ * @notWhen a measure is followed through continuous time and the rise and fall is the story — use `ed-r-line-chart`
59
+ * @notWhen the point is how a whole divides into a few shares — use `ed-r-doughnut`
60
+ * @notWhen what happened must be told apart from what is expected — use `ed-r-projection`
61
+ * @notWhen reading the exact figures is the main job, or there are more than twenty or so categories — use `ed-table`; the chart's own data table is a fallback for assistive technology, not the display
62
+ * @notWhen there are only one or two headline numbers — use `ed-r-stat-card`
53
63
  */
54
64
  export declare class EdRBarChart extends EdElement {
55
65
  /** Chart data — labels and one or more datasets with optional semantic hints. */
56
66
  data: BarChartData;
57
- /** Bar orientation: `vertical` (default) or `horizontal`. */
67
+ /**
68
+ * Bar orientation: `vertical` (default) or `horizontal`.
69
+ *
70
+ * `vertical` when the categories have a natural order along the bottom — months, quarters,
71
+ * age bands — and their names are short. `horizontal` when the names are long, when more
72
+ * than about eight bars have no natural order, or when the bars are ranked from largest to
73
+ * smallest: a name reads along its bar instead of being tilted beneath it.
74
+ */
58
75
  orientation: 'vertical' | 'horizontal';
59
- /** Multi-series layout: side-by-side (`grouped`, default) or layered (`stacked`). */
76
+ /**
77
+ * Multi-series layout: side-by-side (`grouped`, default) or layered (`stacked`).
78
+ *
79
+ * `grouped` when readers compare the series with one another inside a category — this
80
+ * year against last. `stacked` when the series are parts of a total and the total is what
81
+ * readers compare between categories; only the first series — the one against the axis —
82
+ * keeps a common baseline, so put the one that matters most there.
83
+ */
60
84
  variant: 'grouped' | 'stacked';
61
85
  /** Accessible label for the chart region (required for a11y). */
62
86
  chartLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"bar-chart.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/bar-chart/bar-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AAuBzF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IAGjB,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;CAChD;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,iFAAiF;IAEjF,IAAI,EAAE,YAAY,CAAgC;IAElD,6DAA6D;IAE7D,WAAW,EAAE,UAAU,GAAG,YAAY,CAAc;IAEpD,qFAAqF;IAErF,OAAO,EAAE,SAAS,GAAG,SAAS,CAAa;IAE3C,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gFAAgF;IAEhF,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAA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MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAe5C,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,aAAa;IA0BrB,OAAO,CAAC,gBAAgB;IAqDxB,MAAM;IAiBN,OAAO,CAAC,WAAW;CA0BpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,WAAW,CAAC;KAC/B;CACF"}
@@ -36,6 +36,8 @@ export interface DoughnutSlice {
36
36
  * @related ed-r-bar-chart — use instead when comparing categories rather than showing parts of a whole
37
37
  * @related ed-r-line-chart — for trends over a continuous axis
38
38
  * @related ed-table — the accessible data-table equivalent
39
+ * @related ed-r-wheel-of-life — scores that do not sum to a whole; ed-progress — one amount against a limit
40
+ * @related ed-r-stat-card — one share as a headline figure
39
41
  *
40
42
  * @content Best for 2–5 slices summing to a meaningful whole; label slices with `labelFormat` and values with `valueFormat`. Always supply `dataTable`.
41
43
  *
@@ -44,11 +46,28 @@ export interface DoughnutSlice {
44
46
  * data table.
45
47
  *
46
48
  * @recipe declarative
49
+ *
50
+ * @useWhen a report should show which few sources make up most of a total, and in what proportions
51
+ *
52
+ * @notWhen readers will want to say which of two similar shares is the larger, or there are more than six of them — use `ed-r-bar-chart`, horizontal
53
+ * @notWhen the values change over time — use `ed-r-line-chart`
54
+ * @notWhen the scores do not add up to a whole — life areas, skills — use `ed-r-wheel-of-life`
55
+ * @notWhen it is one amount against a limit — use `ed-progress`
56
+ * @notWhen one share is the whole story — use `ed-r-stat-card`, with the percentage as its figure
57
+ * @notWhen reading the exact figures is the main job — use `ed-table`; the chart's own data table is a fallback for assistive technology, not the display
47
58
  */
48
59
  export declare class EdRDoughnut extends EdElement {
49
60
  /** Slices — label + numeric value with optional semantic hint. */
50
61
  data: DoughnutSlice[];
51
- /** Legend position (`bottom` default, `right`, or `none`). */
62
+ /**
63
+ * Legend position (`bottom` default, `right`, or `none`).
64
+ *
65
+ * `bottom` in a narrow column or a card, where the ring needs the full width. `right` in a
66
+ * wide region, where a legend beside the ring saves height and reads as a short list.
67
+ * `none` only when the shares are named somewhere else close by — in an `ed-table` beside
68
+ * it, or in the sentence that introduces it — because to a sighted reader a ring with no
69
+ * legend says nothing (assistive technology still gets the chart's data table).
70
+ */
52
71
  legendPosition: 'bottom' | 'right' | 'none';
53
72
  /** Accessible label for the chart region (required for a11y). */
54
73
  chartLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"doughnut.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/doughnut/doughnut.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AAoBzF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;CAChD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,kEAAkE;IAElE,IAAI,EAAE,aAAa,EAAE,CAAM;IAE3B,8DAA8D;IAE9D,cAAc,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAY;IAEvD,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gDAAgD;IAEhD,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAE/D,kEAAk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AgD;IAEhD,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAE/D,kEAAkE;IAElE,WAAW,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,MAAM,CAAkB;IAG/D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAa5C,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,gBAAgB;IA4BxB,OAAO,CAAC,KAAK;IAIb,MAAM;IAcN,OAAO,CAAC,WAAW;CA8BpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF"}
@@ -50,6 +50,7 @@ export interface LineChartPaceLine {
50
50
  * @related ed-r-bar-chart — for categorical comparison
51
51
  * @related ed-r-projection — for an actual-vs-projected split
52
52
  * @related ed-table — the accessible data-table equivalent
53
+ * @related ed-r-stat-card — the latest figure, when the trend is not the story
53
54
  *
54
55
  * @content Lines for trends over a continuous axis. Keep to a few series; always supply `dataTable`.
55
56
  *
@@ -58,6 +59,16 @@ export interface LineChartPaceLine {
58
59
  * data table.
59
60
  *
60
61
  * @recipe declarative
62
+ *
63
+ * @useWhen a measure changes over weeks, months or years and the shape of the trend is the story
64
+ * @useWhen a team wants to follow this year against last, or a few products against one another, through the same months
65
+ * @useWhen progress should be read against a target pace
66
+ *
67
+ * @notWhen the things compared are separate categories rather than moments in time — use `ed-r-bar-chart`
68
+ * @notWhen there is just a before and an after, or a reading or two more — use `ed-r-bar-chart`, or `ed-r-stat-card` with the change in words
69
+ * @notWhen what happened must be told apart from what is expected — use `ed-r-projection`
70
+ * @notWhen reading the exact figures is the main job — use `ed-table`; the chart's own data table is a fallback for assistive technology, not the display
71
+ * @notWhen only the latest figure matters — use `ed-r-stat-card`
61
72
  */
62
73
  export declare class EdRLineChart extends EdElement {
63
74
  /** Time-series data — labels and one or more datasets. */
@@ -1 +1 @@
1
- {"version":3,"file":"line-chart.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/line-chart/line-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AAiCzF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAC9B;AAID,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IAIf,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,YAAa,SAAQ,SAAS;IACzC,0DAA0D;IAE1D,IAAI,EAAE,aAAa,CAAgC;IAEnD,6DAA6D;IAE7D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gFAAgF;IAEhF,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAS5C,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,aAAa;IAmCrB,OAAO,CAAC,gBAAgB;IAwCxB,MAAM;IAcN,OAAO,CAAC,WAAW;CA8BpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,YAAY,CAAC;KACjC;CACF"}
1
+ {"version":3,"file":"line-chart.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/line-chart/line-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AAiCzF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAC9B;AAID,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IAIf,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,qBAAa,YAAa,SAAQ,SAAS;IACzC,0DAA0D;IAE1D,IAAI,EAAE,aAAa,CAAgC;IAEnD,6DAA6D;IAE7D,YAAY,CAAC,EAAE,iBAAiB,CAAC;IAEjC,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gFAAgF;IAEhF,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAS5C,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,aAAa;IAmCrB,OAAO,CAAC,gBAAgB;IAwCxB,MAAM;IAcN,OAAO,CAAC,WAAW;CA8BpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,YAAY,CAAC;KACjC;CACF"}
@@ -38,6 +38,7 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
38
38
  * @related ed-r-line-chart — for a single continuous series with no actual/projected split
39
39
  * @related ed-r-bar-chart — for categorical comparison instead of a trend
40
40
  * @related ed-table — the accessible data-table equivalent of the chart
41
+ * @related ed-r-stat-card — the projected figure alone
41
42
  *
42
43
  * @content Label the cutoff clearly ("Today", "Forecast"). Keep the chart label a short noun phrase; always supply `dataTable` for screen-reader parity.
43
44
  *
@@ -46,6 +47,15 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
46
47
  * data table.
47
48
  *
48
49
  * @recipe declarative
50
+ *
51
+ * @useWhen a forecast should show what has happened so far and what is expected next, with no chance of mistaking one for the other
52
+ * @useWhen a year-end estimate, a runway or a pace towards a goal needs drawing
53
+ *
54
+ * @notWhen everything shown has already happened — use `ed-r-line-chart`
55
+ * @notWhen several measures need forecasting on the same axes — use `ed-r-line-chart`, marking the forecast part of every series as a forecast
56
+ * @notWhen the comparison is between categories rather than over time — use `ed-r-bar-chart`
57
+ * @notWhen only the projected figure matters — use `ed-r-stat-card`
58
+ * @notWhen reading the exact figures is the main job — use `ed-table`; the chart's own data table is a fallback for assistive technology, not the display
49
59
  */
50
60
  export declare class EdRProjection extends EdElement {
51
61
  /** X-axis labels (typically time-series categories). */
@@ -1 +1 @@
1
- {"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/projection/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AA+BzF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,wDAAwD;IAExD,MAAM,EAAE,MAAM,EAAE,CAAM;IAEtB,0EAA0E;IAE1E,MAAM,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAM;IAE/B,8FAA8F;IAE9F,SAAS,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAM;IAElC,uEAAuE;IAEvE,WAAW,SAAe;IAE1B,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gFAAgF;IAEhF,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAe5C,+DAA+D;IAC/D,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,aAAa;IAkCrB,OAAO,CAAC,gBAAgB;IA0CxB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAiCxB,iEAAiE;IACjE,OAAO,CAAC,SAAS;IA0BjB,MAAM;IAcN,OAAO,CAAC,WAAW;CA0CpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
1
+ {"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-charts/charts/common/projection/projection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AA+BzF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,wDAAwD;IAExD,MAAM,EAAE,MAAM,EAAE,CAAM;IAEtB,0EAA0E;IAE1E,MAAM,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAM;IAE/B,8FAA8F;IAE9F,SAAS,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAM;IAElC,uEAAuE;IAEvE,WAAW,SAAe;IAE1B,iEAAiE;IAEjE,UAAU,SAAM;IAEhB,+DAA+D;IAE/D,SAAS,UAAQ;IAEjB,gFAAgF;IAEhF,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAA6B;IAG3D,OAAO,CAAC,MAAM,CAAC,CAAoB;IAEnC,OAAO,CAAC,KAAK,CAAC,CAAQ;IACtB,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,SAAS,CAAC,CAAa;IAE/B,MAAM,KAAK,MAAM,4BAEhB;IAED,oBAAoB,IAAI,IAAI;IAO5B,YAAY,IAAI,IAAI;IAcpB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAe5C,+DAA+D;IAC/D,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,aAAa;IAkCrB,OAAO,CAAC,gBAAgB;IA0CxB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAiCxB,iEAAiE;IACjE,OAAO,CAAC,SAAS;IA0BjB,MAAM;IAcN,OAAO,CAAC,WAAW;CA0CpB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brad-frost-web/eddie-charts",
3
- "version": "0.66.0",
3
+ "version": "0.68.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,8 +15,7 @@
15
15
  "dependencies": {
16
16
  "chart.js": "^4.4.6",
17
17
  "classnames": "^2.5.1",
18
- "lit": "^3.3.1",
19
- "sass": "^1.93.2"
18
+ "lit": "^3.3.1"
20
19
  },
21
20
  "peerDependencies": {
22
21
  "@brad-frost-web/eddie-design-tokens": ">=0.19.0",
@@ -25,6 +24,7 @@
25
24
  "devDependencies": {
26
25
  "del-cli": "^7.0.0",
27
26
  "plop": "^4.0.4",
27
+ "sass": "^1.93.2",
28
28
  "typescript": "~5.9.3",
29
29
  "vite": "^7.1.7",
30
30
  "vite-plugin-css-injected-by-js": "^3.5.2",