uplot-plus 0.1.2 → 0.1.4
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/components/Scale.d.ts.map +1 -1
- package/dist/components/Tooltip.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +914 -966
- package/package.json +1 -1
- package/dist/components/ResponsiveChart.d.ts +0 -18
- package/dist/components/ResponsiveChart.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ChartProps } from '../types/chart';
|
|
2
|
-
export interface ResponsiveChartProps extends Omit<ChartProps, 'width' | 'height'> {
|
|
3
|
-
/** Minimum width in CSS pixels (default: 100) */
|
|
4
|
-
minWidth?: number;
|
|
5
|
-
/** Minimum height in CSS pixels (default: 100) */
|
|
6
|
-
minHeight?: number;
|
|
7
|
-
/** If set, height = width / aspectRatio */
|
|
8
|
-
aspectRatio?: number;
|
|
9
|
-
/** Initial height when container height is auto (default: 300) */
|
|
10
|
-
initialHeight?: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Chart wrapper that auto-sizes to its container via ResizeObserver.
|
|
14
|
-
* The container div takes 100% width; height is either derived from
|
|
15
|
-
* container, aspectRatio, or initialHeight.
|
|
16
|
-
*/
|
|
17
|
-
export declare function ResponsiveChart({ minWidth, minHeight, aspectRatio, initialHeight, ...chartProps }: ResponsiveChartProps): React.JSX.Element;
|
|
18
|
-
//# sourceMappingURL=ResponsiveChart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveChart.d.ts","sourceRoot":"","sources":["../../src/components/ResponsiveChart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,QAAQ,CAAC;IAChF,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAc,EACd,SAAe,EACf,WAAW,EACX,aAAmB,EACnB,GAAG,UAAU,EACd,EAAE,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAmD1C"}
|