@withpotter/components 0.13.0-next.120 → 0.13.0-next.123
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/dist/charts/index.d.ts
CHANGED
|
@@ -28,4 +28,4 @@ export { TimeSeriesChart } from './time-series-chart';
|
|
|
28
28
|
export { SeriesBreakdown } from './series-breakdown';
|
|
29
29
|
export type { SeriesBreakdownProps, BreakdownSeries, BreakdownPoint, } from './series-breakdown';
|
|
30
30
|
export { EmptyState as ChartEmptyState } from './chart-empty-state';
|
|
31
|
-
export { CHART_GRID, CHART_TICK, CHART_TICK_STYLE, CHART_TOOLTIP, } from './chart-theme';
|
|
31
|
+
export { useChartTheme, CHART_GRID, CHART_TICK, CHART_TICK_STYLE, CHART_TOOLTIP, } from './chart-theme';
|
package/dist/charts/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import { TimeSeriesChart } from "./time-series-chart";
|
|
|
7
7
|
import { SeriesBreakdown } from "./series-breakdown";
|
|
8
8
|
import { EmptyState } from "./chart-empty-state";
|
|
9
9
|
import {
|
|
10
|
+
useChartTheme,
|
|
10
11
|
CHART_GRID,
|
|
11
12
|
CHART_TICK,
|
|
12
13
|
CHART_TICK_STYLE,
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
DonutChart,
|
|
25
26
|
RevenueSpineChart,
|
|
26
27
|
SeriesBreakdown,
|
|
27
|
-
TimeSeriesChart
|
|
28
|
+
TimeSeriesChart,
|
|
29
|
+
useChartTheme
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=index.js.map
|
package/dist/charts/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/charts/index.ts"],"sourcesContent":["/**\n * Every chart in the app, in one importable place.\n *\n * This folder held four finished chart components — `AreaMetricCard`,\n * `DonutChart`, `AreaChart`, `BarChart` — that **nothing had ever imported**,\n * while `components/dashboard/home/` reached sideways into\n * `app/dashboard/analytics/components/` for the one chart it needed. The\n * shared folder was invisible; a route folder was the de facto shared one.\n *\n * That is the same failure the design system had: the components were fine,\n * nobody could find them, so every new surface drew its own. A barrel is the\n * cheapest fix for it — before writing a chart, look here.\n *\n * The charts that were stranded in the analytics route now live here too, with\n * their theme, their empty state and their formatters pulled out to shared\n * modules so nothing in this folder points back at a route.\n */\n\nexport { AreaChart } from './area-chart';\nexport type { ChartPoint } from './area-chart';\nexport { AreaMetricCard } from './area-metric-card';\nexport type { MetricRange } from './area-metric-card';\nexport { BarChart } from './bar-chart';\nexport { DonutChart } from './donut-chart';\nexport type { DonutSlice } from './donut-chart';\nexport { RevenueSpineChart } from './revenue-spine-chart';\nexport { TimeSeriesChart } from './time-series-chart';\n/** A measure split by a dimension: chart and breakdown as one object. */\nexport { SeriesBreakdown } from './series-breakdown';\nexport type {\n SeriesBreakdownProps,\n BreakdownSeries,\n BreakdownPoint,\n} from './series-breakdown';\nexport { EmptyState as ChartEmptyState } from './chart-empty-state';\nexport {\n CHART_GRID,\n CHART_TICK,\n CHART_TICK_STYLE,\n CHART_TOOLTIP,\n} from './chart-theme';\n"],"mappings":"AAkBA,SAAS,iBAAiB;AAE1B,SAAS,sBAAsB;AAE/B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAE3B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAEhC,SAAS,uBAAuB;AAMhC,SAAuB,kBAAuB;AAC9C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/charts/index.ts"],"sourcesContent":["/**\n * Every chart in the app, in one importable place.\n *\n * This folder held four finished chart components — `AreaMetricCard`,\n * `DonutChart`, `AreaChart`, `BarChart` — that **nothing had ever imported**,\n * while `components/dashboard/home/` reached sideways into\n * `app/dashboard/analytics/components/` for the one chart it needed. The\n * shared folder was invisible; a route folder was the de facto shared one.\n *\n * That is the same failure the design system had: the components were fine,\n * nobody could find them, so every new surface drew its own. A barrel is the\n * cheapest fix for it — before writing a chart, look here.\n *\n * The charts that were stranded in the analytics route now live here too, with\n * their theme, their empty state and their formatters pulled out to shared\n * modules so nothing in this folder points back at a route.\n */\n\nexport { AreaChart } from './area-chart';\nexport type { ChartPoint } from './area-chart';\nexport { AreaMetricCard } from './area-metric-card';\nexport type { MetricRange } from './area-metric-card';\nexport { BarChart } from './bar-chart';\nexport { DonutChart } from './donut-chart';\nexport type { DonutSlice } from './donut-chart';\nexport { RevenueSpineChart } from './revenue-spine-chart';\nexport { TimeSeriesChart } from './time-series-chart';\n/** A measure split by a dimension: chart and breakdown as one object. */\nexport { SeriesBreakdown } from './series-breakdown';\nexport type {\n SeriesBreakdownProps,\n BreakdownSeries,\n BreakdownPoint,\n} from './series-breakdown';\nexport { EmptyState as ChartEmptyState } from './chart-empty-state';\nexport {\n useChartTheme,\n CHART_GRID,\n CHART_TICK,\n CHART_TICK_STYLE,\n CHART_TOOLTIP,\n} from './chart-theme';\n"],"mappings":"AAkBA,SAAS,iBAAiB;AAE1B,SAAS,sBAAsB;AAE/B,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAE3B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAEhC,SAAS,uBAAuB;AAMhC,SAAuB,kBAAuB;AAC9C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withpotter/components",
|
|
3
|
-
"version": "0.13.0-next.
|
|
3
|
+
"version": "0.13.0-next.123",
|
|
4
4
|
"description": "Box dashboard feature components: editors, mobile screens, pickers, and composite UI built on @withpotter/ui-kit.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"sideEffects": [
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@tiptap/react": "^3.22.5",
|
|
51
51
|
"@tiptap/starter-kit": "^3.22.5",
|
|
52
52
|
"@tiptap/suggestion": "^3.22.5",
|
|
53
|
-
"@withpotter/hooks": "^0.13.0-next.
|
|
54
|
-
"@withpotter/lib": "^0.13.0-next.
|
|
55
|
-
"@withpotter/ui-kit": "^0.13.0-next.
|
|
53
|
+
"@withpotter/hooks": "^0.13.0-next.123",
|
|
54
|
+
"@withpotter/lib": "^0.13.0-next.123",
|
|
55
|
+
"@withpotter/ui-kit": "^0.13.0-next.123",
|
|
56
56
|
"@xyflow/react": "^12.11.2",
|
|
57
57
|
"dompurify": "^3.3.1",
|
|
58
58
|
"jsqr": "1.4.0",
|