@tetrascience-npm/tetrascience-react-ui 0.6.0-beta.98.1 → 0.6.0-beta.99.1

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.
Files changed (36) hide show
  1. package/dist/components/charts/AreaGraph/AreaGraph.cjs +1 -1
  2. package/dist/components/charts/AreaGraph/AreaGraph.cjs.map +1 -1
  3. package/dist/components/charts/AreaGraph/AreaGraph.js +132 -103
  4. package/dist/components/charts/AreaGraph/AreaGraph.js.map +1 -1
  5. package/dist/components/charts/BarGraph/BarGraph.cjs +1 -1
  6. package/dist/components/charts/BarGraph/BarGraph.cjs.map +1 -1
  7. package/dist/components/charts/BarGraph/BarGraph.js +124 -95
  8. package/dist/components/charts/BarGraph/BarGraph.js.map +1 -1
  9. package/dist/components/charts/Boxplot/Boxplot.cjs +1 -1
  10. package/dist/components/charts/Boxplot/Boxplot.cjs.map +1 -1
  11. package/dist/components/charts/Boxplot/Boxplot.js +116 -87
  12. package/dist/components/charts/Boxplot/Boxplot.js.map +1 -1
  13. package/dist/components/charts/DotPlot/DotPlot.cjs +1 -1
  14. package/dist/components/charts/DotPlot/DotPlot.cjs.map +1 -1
  15. package/dist/components/charts/DotPlot/DotPlot.js +113 -83
  16. package/dist/components/charts/DotPlot/DotPlot.js.map +1 -1
  17. package/dist/components/charts/Histogram/Histogram.cjs +1 -1
  18. package/dist/components/charts/Histogram/Histogram.cjs.map +1 -1
  19. package/dist/components/charts/Histogram/Histogram.js +128 -105
  20. package/dist/components/charts/Histogram/Histogram.js.map +1 -1
  21. package/dist/components/charts/LineGraph/LineGraph.cjs +1 -1
  22. package/dist/components/charts/LineGraph/LineGraph.cjs.map +1 -1
  23. package/dist/components/charts/LineGraph/LineGraph.js +109 -87
  24. package/dist/components/charts/LineGraph/LineGraph.js.map +1 -1
  25. package/dist/components/charts/ScatterGraph/ScatterGraph.cjs +1 -1
  26. package/dist/components/charts/ScatterGraph/ScatterGraph.cjs.map +1 -1
  27. package/dist/components/charts/ScatterGraph/ScatterGraph.js +114 -90
  28. package/dist/components/charts/ScatterGraph/ScatterGraph.js.map +1 -1
  29. package/dist/hooks/use-element-size.cjs +2 -0
  30. package/dist/hooks/use-element-size.cjs.map +1 -0
  31. package/dist/hooks/use-element-size.js +21 -0
  32. package/dist/hooks/use-element-size.js.map +1 -0
  33. package/dist/index.css +1 -1
  34. package/dist/index.d.ts +56 -0
  35. package/dist/index.tailwind.css +1 -1
  36. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -136,7 +136,15 @@ export declare const AreaGraph: default_2.FC<AreaGraphProps>;
136
136
 
137
137
  export declare interface AreaGraphProps {
138
138
  dataSeries: AreaDataSeries[];
139
+ /**
140
+ * Fixed width in pixels. When omitted, the chart fills its container and
141
+ * tracks the container's width via a `ResizeObserver`.
142
+ */
139
143
  width?: number;
144
+ /**
145
+ * Fixed height in pixels. When omitted, the chart fills its container and
146
+ * tracks the container's height via a `ResizeObserver`.
147
+ */
140
148
  height?: number;
141
149
  xRange?: [number, number];
142
150
  yRange?: [number, number];
@@ -314,7 +322,15 @@ export declare const BarGraph: default_2.FC<BarGraphProps>;
314
322
 
315
323
  export declare interface BarGraphProps {
316
324
  dataSeries: BarDataSeries[];
325
+ /**
326
+ * Fixed width in pixels. When omitted, the chart fills its container and
327
+ * tracks the container's width via a `ResizeObserver`.
328
+ */
317
329
  width?: number;
330
+ /**
331
+ * Fixed height in pixels. When omitted, the chart fills its container and
332
+ * tracks the container's height via a `ResizeObserver`.
333
+ */
318
334
  height?: number;
319
335
  xRange?: [number, number];
320
336
  yRange?: [number, number];
@@ -366,7 +382,15 @@ export declare const Boxplot: default_2.FC<BoxplotProps>;
366
382
 
367
383
  export declare interface BoxplotProps {
368
384
  dataSeries: BoxDataSeries[];
385
+ /**
386
+ * Fixed width in pixels. When omitted, the chart fills its container and
387
+ * tracks the container's width via a `ResizeObserver`.
388
+ */
369
389
  width?: number;
390
+ /**
391
+ * Fixed height in pixels. When omitted, the chart fills its container and
392
+ * tracks the container's height via a `ResizeObserver`.
393
+ */
370
394
  height?: number;
371
395
  xRange?: [number, number];
372
396
  yRange?: [number, number];
@@ -1353,7 +1377,15 @@ export declare interface DotPlotDataSeries {
1353
1377
 
1354
1378
  export declare type DotPlotProps = {
1355
1379
  dataSeries: DotPlotDataSeries | DotPlotDataSeries[];
1380
+ /**
1381
+ * Fixed width in pixels. When omitted, the chart fills its container and
1382
+ * tracks the container's width via a `ResizeObserver`.
1383
+ */
1356
1384
  width?: number;
1385
+ /**
1386
+ * Fixed height in pixels. When omitted, the chart fills its container and
1387
+ * tracks the container's height via a `ResizeObserver`.
1388
+ */
1357
1389
  height?: number;
1358
1390
  title?: string;
1359
1391
  xTitle?: string;
@@ -1591,7 +1623,15 @@ export declare interface HistogramDataSeries {
1591
1623
 
1592
1624
  export declare type HistogramProps = {
1593
1625
  dataSeries: HistogramDataSeries | HistogramDataSeries[];
1626
+ /**
1627
+ * Fixed width in pixels. When omitted, the chart fills its container and
1628
+ * tracks the container's width via a `ResizeObserver`.
1629
+ */
1594
1630
  width?: number;
1631
+ /**
1632
+ * Fixed height in pixels. When omitted, the chart fills its container and
1633
+ * tracks the container's height via a `ResizeObserver`.
1634
+ */
1595
1635
  height?: number;
1596
1636
  title?: string;
1597
1637
  xTitle?: string;
@@ -1849,7 +1889,15 @@ export declare const LineGraph: default_2.FC<LineGraphProps>;
1849
1889
 
1850
1890
  export declare type LineGraphProps = {
1851
1891
  dataSeries: LineDataSeries[];
1892
+ /**
1893
+ * Fixed width in pixels. When omitted, the chart fills its container and
1894
+ * tracks the container's width via a `ResizeObserver`.
1895
+ */
1852
1896
  width?: number;
1897
+ /**
1898
+ * Fixed height in pixels. When omitted, the chart fills its container and
1899
+ * tracks the container's height via a `ResizeObserver`.
1900
+ */
1853
1901
  height?: number;
1854
1902
  xRange?: [number, number];
1855
1903
  yRange?: [number, number];
@@ -3276,7 +3324,15 @@ export declare const ScatterGraph: default_2.FC<ScatterGraphProps>;
3276
3324
 
3277
3325
  export declare interface ScatterGraphProps {
3278
3326
  dataSeries: ScatterDataSeries[];
3327
+ /**
3328
+ * Fixed width in pixels. When omitted, the chart fills its container and
3329
+ * tracks the container's width via a `ResizeObserver`.
3330
+ */
3279
3331
  width?: number;
3332
+ /**
3333
+ * Fixed height in pixels. When omitted, the chart fills its container and
3334
+ * tracks the container's height via a `ResizeObserver`.
3335
+ */
3280
3336
  height?: number;
3281
3337
  xRange?: [number, number];
3282
3338
  yRange?: [number, number];