@stealthscale/component-charts 0.2.1 → 0.2.3
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/cyclonedx/bom.json +1 -1
- package/dist/index.js +1 -14710
- package/dist/pages/area-chart/area-chart.js +1151 -0
- package/dist/pages/area-chart/area-chart.props.js +3 -0
- package/dist/pages/bar-chart/bar-chart.js +990 -0
- package/dist/pages/bar-chart/bar-chart.props.js +3 -0
- package/dist/pages/box-plot/box-plot.js +1585 -0
- package/dist/pages/box-plot/box-plot.props.js +3 -0
- package/dist/pages/bubble-chart/bubble-chart.js +938 -0
- package/dist/pages/bubble-chart/bubble-chart.props.js +3 -0
- package/dist/pages/burndown-chart/burndown-chart.js +805 -0
- package/dist/pages/burndown-chart/burndown-chart.props.js +3 -0
- package/dist/pages/candlestick-chart/candlestick-chart.js +853 -0
- package/dist/pages/candlestick-chart/candlestick-chart.props.js +3 -0
- package/dist/pages/chart/chart.js +1190 -0
- package/dist/pages/chart/chart.props.js +3 -0
- package/dist/pages/chord-diagram/chord-diagram.js +891 -0
- package/dist/pages/chord-diagram/chord-diagram.props.js +3 -0
- package/dist/pages/combo-chart/combo-chart.js +873 -0
- package/dist/pages/combo-chart/combo-chart.props.js +3 -0
- package/dist/pages/distribution-chart/distribution-chart.js +1066 -0
- package/dist/pages/distribution-chart/distribution-chart.props.js +3 -0
- package/dist/pages/donut-chart/donut-chart.js +726 -0
- package/dist/pages/donut-chart/donut-chart.props.js +3 -0
- package/dist/pages/funnel-chart/funnel-chart.js +1094 -0
- package/dist/pages/funnel-chart/funnel-chart.props.js +3 -0
- package/dist/pages/gauge-chart/gauge-chart.js +767 -0
- package/dist/pages/gauge-chart/gauge-chart.props.js +3 -0
- package/dist/pages/heatmap/heatmap.js +1967 -0
- package/dist/pages/heatmap/heatmap.props.js +3 -0
- package/dist/pages/histogram-chart/histogram-chart.js +768 -0
- package/dist/pages/histogram-chart/histogram-chart.props.js +3 -0
- package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.js +701 -0
- package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.props.js +3 -0
- package/dist/pages/line-chart/line-chart.js +1882 -0
- package/dist/pages/line-chart/line-chart.props.js +3 -0
- package/dist/pages/pages.json +393 -0
- package/dist/pages/pareto-chart/pareto-chart.js +669 -0
- package/dist/pages/pareto-chart/pareto-chart.props.js +3 -0
- package/dist/pages/percent-stacked-bar/percent-stacked-bar.js +662 -0
- package/dist/pages/percent-stacked-bar/percent-stacked-bar.props.js +3 -0
- package/dist/pages/pie-chart/pie-chart.js +1007 -0
- package/dist/pages/pie-chart/pie-chart.props.js +3 -0
- package/dist/pages/polar-area-chart/polar-area-chart.js +812 -0
- package/dist/pages/polar-area-chart/polar-area-chart.props.js +3 -0
- package/dist/pages/radar-chart/radar-chart.js +1101 -0
- package/dist/pages/radar-chart/radar-chart.props.js +3 -0
- package/dist/pages/radial-bar-chart/radial-bar-chart.js +766 -0
- package/dist/pages/radial-bar-chart/radial-bar-chart.props.js +3 -0
- package/dist/pages/range-chart/range-chart.js +914 -0
- package/dist/pages/range-chart/range-chart.props.js +3 -0
- package/dist/pages/regression-overlay/regression-overlay.js +494 -0
- package/dist/pages/regression-overlay/regression-overlay.props.js +3 -0
- package/dist/pages/sankey-chart/sankey-chart.js +700 -0
- package/dist/pages/sankey-chart/sankey-chart.props.js +3 -0
- package/dist/pages/scatter-plot/scatter-plot.js +1248 -0
- package/dist/pages/scatter-plot/scatter-plot.props.js +3 -0
- package/dist/pages/sparkbar/sparkbar.js +629 -0
- package/dist/pages/sparkbar/sparkbar.props.js +3 -0
- package/dist/pages/sparkline/sparkline.js +960 -0
- package/dist/pages/sparkline/sparkline.props.js +3 -0
- package/dist/pages/spend-5xQ76WSj.js +185 -0
- package/dist/pages/stacked-area-chart/stacked-area-chart.js +912 -0
- package/dist/pages/stacked-area-chart/stacked-area-chart.props.js +3 -0
- package/dist/pages/stacked-bar-chart/stacked-bar-chart.js +722 -0
- package/dist/pages/stacked-bar-chart/stacked-bar-chart.props.js +3 -0
- package/dist/pages/step-line-chart/step-line-chart.js +573 -0
- package/dist/pages/step-line-chart/step-line-chart.props.js +3 -0
- package/dist/pages/stream-graph/stream-graph.js +1662 -0
- package/dist/pages/stream-graph/stream-graph.props.js +3 -0
- package/dist/pages/sunburst-chart/sunburst-chart.js +1051 -0
- package/dist/pages/sunburst-chart/sunburst-chart.props.js +3 -0
- package/dist/pages/timeline-chart/timeline-chart.js +1124 -0
- package/dist/pages/timeline-chart/timeline-chart.props.js +3 -0
- package/dist/pages/treemap-chart/treemap-chart.js +904 -0
- package/dist/pages/treemap-chart/treemap-chart.props.js +3 -0
- package/dist/pages/violin-plot/violin-plot.js +1303 -0
- package/dist/pages/violin-plot/violin-plot.props.js +3 -0
- package/dist/pages/visitors-oFFVcbIZ.js +248 -0
- package/dist/pages/waterfall-chart/waterfall-chart.js +1195 -0
- package/dist/pages/waterfall-chart/waterfall-chart.props.js +3 -0
- package/dist/shared-DVZJ2nST.js +14711 -0
- package/dist/theme.js +29 -13
- package/locales/en/specimen/area-chart.json +56 -0
- package/locales/en/specimen/bar-chart.json +56 -0
- package/locales/en/specimen/box-plot.json +65 -0
- package/locales/en/specimen/bubble-chart.json +47 -0
- package/locales/en/specimen/burndown-chart.json +46 -0
- package/locales/en/specimen/candlestick-chart.json +42 -0
- package/locales/en/specimen/chart.json +53 -0
- package/locales/en/specimen/chord-diagram.json +69 -0
- package/locales/en/specimen/combo-chart.json +41 -0
- package/locales/en/specimen/distribution-chart.json +47 -0
- package/locales/en/specimen/donut-chart.json +63 -0
- package/locales/en/specimen/funnel-chart.json +84 -0
- package/locales/en/specimen/gauge-chart.json +68 -0
- package/locales/en/specimen/heatmap.json +187 -0
- package/locales/en/specimen/histogram-chart.json +48 -0
- package/locales/en/specimen/horizontal-bar-chart.json +54 -0
- package/locales/en/specimen/line-chart.json +106 -0
- package/locales/en/specimen/pareto-chart.json +43 -0
- package/locales/en/specimen/percent-stacked-bar.json +37 -0
- package/locales/en/specimen/pie-chart.json +80 -0
- package/locales/en/specimen/polar-area-chart.json +90 -0
- package/locales/en/specimen/radar-chart.json +82 -0
- package/locales/en/specimen/radial-bar-chart.json +62 -0
- package/locales/en/specimen/range-chart.json +42 -0
- package/locales/en/specimen/regression-overlay.json +36 -0
- package/locales/en/specimen/sankey-chart.json +89 -0
- package/locales/en/specimen/scatter-plot.json +88 -0
- package/locales/en/specimen/sparkbar.json +51 -0
- package/locales/en/specimen/sparkline.json +70 -0
- package/locales/en/specimen/stacked-area-chart.json +44 -0
- package/locales/en/specimen/stacked-bar-chart.json +34 -0
- package/locales/en/specimen/step-line-chart.json +33 -0
- package/locales/en/specimen/stream-graph.json +54 -0
- package/locales/en/specimen/sunburst-chart.json +110 -0
- package/locales/en/specimen/timeline-chart.json +77 -0
- package/locales/en/specimen/treemap-chart.json +107 -0
- package/locales/en/specimen/violin-plot.json +54 -0
- package/locales/en/specimen/waterfall-chart.json +71 -0
- package/package.json +9 -8
- /package/dist/{recipe-BbGw00ut.js → recipes-BbGw00ut.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export const dropped = {"CaptionProps": {"conditions": 284, "foreign": 1041}, "CrosshairProps": {"conditions": 0, "foreign": 0}, "EmptyProps": {"conditions": 284, "foreign": 1041}, "KeyItemProps": {"conditions": 284, "foreign": 1042}, "KeyProps": {"conditions": 284, "foreign": 1041}, "LegendProps": {"conditions": 284, "foreign": 1044}, "PlotProps": {"conditions": 284, "foreign": 1040}, "RootProps": {"conditions": 284, "foreign": 1041}, "TooltipProps": {"conditions": 0, "foreign": 0}};
|
|
2
|
+
export const parts = {"CaptionProps": [], "CrosshairProps": [{"accepts": "string", "fallback": "", "kind": "option", "name": "dataKey", "refers": [], "required": true, "says": "Key of the series whose value the guide marks."}], "EmptyProps": [], "KeyItemProps": [{"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "glyph", "refers": ["react.ReactElement", "react.ReactPortal"], "required": true, "says": "Picture of the part, an `svg` the recipe sizes to the text."}], "KeyProps": [], "LegendProps": [{"accepts": "string", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Name of the group of buttons, read before the first one."}], "PlotProps": [{"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "center", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Figure over the middle of the plot, such as the total in a donut's hole."}, {"accepts": "ReactNode", "fallback": "", "kind": "option", "name": "centerLabel", "refers": ["react.ReactElement", "react.ReactPortal"], "required": false, "says": "Words under the figure in the middle, such as what the total counts."}, {"accepts": "ReactElement<unknown, string | JSXElementConstructor<any>>", "fallback": "", "kind": "option", "name": "children", "refers": ["react.ReactElement"], "required": true, "says": "The recharts chart, such as a `LineChart` with its axes and marks."}], "RootProps": [{"accepts": "ChartApi<unknown>", "fallback": "", "kind": "option", "name": "chart", "refers": ["kit.ChartApi", "kit.Series"], "required": true, "says": "Chart `useChart` returns, which every part reads."}, {"accepts": "\"golden\" | \"landscape\" | \"portrait\" | \"rows\" | \"square\" | \"ultrawide\" | \"video\" | \"wide\"", "fallback": "", "kind": "variant", "name": "ratio", "refers": [], "required": false, "says": "Aspect ratio of the plot and of the empty state in its place, one of the theme's ratios, or `rows` for a plot as tall as its rows."}], "TooltipProps": [{"accepts": "boolean", "fallback": "", "kind": "option", "name": "accessibilityLayer", "refers": [], "required": false, "says": "Whether recharts' keyboard layer is on, which makes the panel assertive. Recharts passes it."}, {"accepts": "boolean", "fallback": "", "kind": "option", "name": "active", "refers": [], "required": false, "says": "Whether recharts shows the tooltip. Recharts passes it."}, {"accepts": "((entry: TooltipEntry) => string)", "fallback": "", "kind": "option", "name": "entryColor", "refers": ["kit.TooltipEntry"], "required": false, "says": "Returns the CSS color of an entry's swatch, for a mark whose color changes from row to row. The series' color unless stated."}, {"accepts": "((value: unknown) => string)", "fallback": "", "kind": "option", "name": "formatLabel", "refers": [], "required": false, "says": "Writes the category, such as a day. The category's own text unless stated."}, {"accepts": "((value: unknown, entry: TooltipEntry) => string)", "fallback": "", "kind": "option", "name": "formatValue", "refers": ["kit.TooltipEntry"], "required": false, "says": "Writes each series' value, such as an amount in a currency, given the value and its entry. A number in the chart's locale unless stated, and a band's two ends as a range."}, {"accepts": "((entries: readonly TooltipEntry[]) => ReactNode)", "fallback": "", "kind": "option", "name": "headingOf", "refers": ["kit.TooltipEntry"], "required": false, "says": "Returns the heading from the entries shown, for a tooltip about one point rather than one category, such as a scatter's. The category, written by `formatLabel`, unless stated."}, {"accepts": "unknown", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Category the tooltip is for. Recharts passes it."}, {"accepts": "((entry: TooltipEntry) => ReactNode)", "fallback": "", "kind": "option", "name": "nameOf", "refers": ["kit.TooltipEntry"], "required": false, "says": "Returns a row's name, such as the title of the axis a scatter's value is on. The series' label unless stated."}, {"accepts": "((label: unknown) => readonly TooltipNote[])", "fallback": "", "kind": "option", "name": "notesOf", "refers": [], "required": false, "says": "Returns the notes about the category, such as the annotations at it, which render after the rows. None unless stated."}, {"accepts": "readonly TooltipEntry[]", "fallback": "", "kind": "option", "name": "payload", "refers": ["kit.TooltipEntry"], "required": false, "says": "Values at the category, one per series. Recharts passes them."}, {"accepts": "((entries: readonly TooltipEntry[]) => readonly TooltipRow[])", "fallback": "", "kind": "option", "name": "rowsOf", "refers": ["kit.TooltipEntry"], "required": false, "says": "Returns the rows of a tooltip about one datum with several numbers, such as a box's median and quartiles, from the entries shown. The rows render without a swatch. A row per shown series unless stated."}]};
|
|
3
|
+
export const shapes = {"react.ReactElement": [{"accepts": "string | JSXElementConstructor<any>", "name": "type", "says": ""}, {"accepts": "unknown", "name": "props", "says": ""}, {"accepts": "string | null", "name": "key", "says": ""}], "react.ReactPortal": [{"accepts": "ReactNode", "name": "children", "says": ""}, {"accepts": "string | JSXElementConstructor<any>", "name": "type", "says": ""}, {"accepts": "unknown", "name": "props", "says": ""}, {"accepts": "string | null", "name": "key", "says": ""}], "kit.ChartApi": [{"accepts": "(key: string) => string", "name": "color", "says": "Returns the CSS value of a series' color, or `currentColor` for a key no series has."}, {"accepts": "unknown[]", "name": "data", "says": "Rows the chart plots, the array the caller passed, which a recharts chart takes as `data`."}, {"accepts": "(options?: DateTimeFormatOptions) => (value: unknown) => string", "name": "formatDate", "says": "Returns a function that writes an instant in the chart's locale."}, {"accepts": "(options?: NumberFormatOptions) => (value: unknown) => string", "name": "formatNumber", "says": "Returns a function that writes a number in the chart's locale."}, {"accepts": "(key: string) => boolean", "name": "hidden", "says": "Returns whether the legend hides a series."}, {"accepts": "(key?: string) => void", "name": "highlight", "says": "Points the legend at a series, or at none without a key. The pointer and focus on a legend item call it."}, {"accepts": "string", "name": "highlighted", "says": "Key of the series the legend points at. Every other series' `opacity` is the faded one."}, {"accepts": "string", "name": "locale", "says": "Locale the chart writes in: `locale`, else the nearest `LocaleProvider`'s, else the runtime's."}, {"accepts": "(key: string) => string", "name": "opacity", "says": "Returns the CSS value of a series' opacity, which a mark takes as `opacity`, or 1 for a key no series has."}, {"accepts": "(key: string, alone: boolean) => void", "name": "press", "says": "Hides or shows series after a press in the legend: the pressed series switched for a plain press, the pressed series alone for a press with Ctrl or Cmd."}, {"accepts": "readonly Series[]", "name": "series", "says": "Series as the chart resolved them, in order."}], "kit.Series": [{"accepts": "string", "name": "color", "says": "CSS value of the series' color, which a mark takes as its `stroke` or `fill`."}, {"accepts": "boolean", "name": "hidden", "says": "Whether the legend hides the series. A mark takes it as `hide`."}, {"accepts": "string", "name": "key", "says": "Field of each row the series reads."}, {"accepts": "ReactNode", "name": "label", "says": "Name the tooltip and the legend show."}, {"accepts": "string", "name": "opacity", "says": "CSS value of the series' opacity, which a mark takes as `opacity`: the recipe's faded opacity while the legend points at another series, else 1."}], "kit.TooltipEntry": [{"accepts": "unknown", "name": "dataKey", "says": "Field the series reads, which is the series' key on a cartesian chart."}, {"accepts": "unknown", "name": "name", "says": "Name of the entry, which is the series' key for a pie's sector and a band."}, {"accepts": "unknown", "name": "payload", "says": "Row the entry was read from."}, {"accepts": "unknown", "name": "value", "says": "Value of the series at the category, or a band's two ends."}]};
|