feat: implemented dist package.json

This commit is contained in:
TresAbhi committed 2023-06-30 17:38:44 +00:00
1 parent e34a6c6e4b
commit 4c2b0253de
7 files changed
+46 -29

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
import { times } from 'lodash';
import { theme } from '../../../stitches.config.js';
import { MarginProps as RootMarginProps } from './Root.js';
import { MarginInputProps } from './Root.js';
export enum MarginOrientation {
Vertical,
Horizontal,
}
export interface MarginProps extends RootMarginProps {
export interface MarginProps extends MarginInputProps {
verticalSeparations: number;
orientation?: MarginOrientation;
}
+3 -3
View File
@@ -6,7 +6,7 @@ import { Margin, MarginOrientation } from './Margin.js';
export const GRAPH_WIDTH = 544;
export const GRAPH_HEIGHT = 320;
export interface MarginProps {
export interface MarginInputProps {
min: number;
max: number;
suffix?: string;
@@ -15,8 +15,8 @@ export interface MarginProps {
export interface RootProps {
children: ReactNode;
verticalMargin?: MarginProps;
horizontalMargin?: MarginProps;
verticalMargin?: MarginInputProps;
horizontalMargin?: MarginInputProps;
separations?: number;
xMinLabel: string;
xMaxLabel: string;