Skip to content

Commit 6d17d5f

Browse files
UI: add dist to github
1 parent 3b6f05a commit 6d17d5f

File tree

197 files changed

+4140
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+4140
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
dist
21
node_modules
32
.vscode
43
.idea

dist/cjs/index.js

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cjs/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { MouseEventHandler } from "react";
2+
import "./button.scss";
3+
export interface ButtonProps {
4+
children: any;
5+
disable?: boolean;
6+
small?: boolean;
7+
empty?: boolean;
8+
fullWidth?: boolean;
9+
isLoading?: boolean;
10+
extraClass?: string;
11+
onClick?: MouseEventHandler<HTMLButtonElement>;
12+
[key: string]: any;
13+
}
14+
declare function Button(props: ButtonProps): JSX.Element;
15+
export default Button;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { ComponentStory, ComponentMeta } from '@storybook/react';
2+
import { default as ButtonComponent } from "./Button";
3+
declare const _default: ComponentMeta<typeof ButtonComponent>;
4+
export default _default;
5+
export declare const Button: ComponentStory<typeof ButtonComponent>;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "./Button";
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/// <reference types="react" />
2+
import './capacityBar.scss';
3+
interface CapacityBarProps {
4+
firstUsage?: number;
5+
firstColor?: string;
6+
secondUsage?: number;
7+
secondColor?: string;
8+
}
9+
declare function CapacityBar(props: CapacityBarProps): JSX.Element;
10+
export default CapacityBar;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import CapacityBar from "./CapacityBar";
2+
import { ComponentStory, ComponentMeta } from '@storybook/react';
3+
declare const _default: ComponentMeta<typeof CapacityBar>;
4+
export default _default;
5+
export declare const OneUsageCapacity: ComponentStory<typeof CapacityBar>;
6+
export declare const TwoUsageCapacity: ComponentStory<typeof CapacityBar>;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './CapacityBar';
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/// <reference types="react" />
2+
import './circularProgress.scss';
3+
interface CircularProgressProps {
4+
size?: number;
5+
progress?: number;
6+
trackColor?: string;
7+
indicatorWidth?: number;
8+
indicatorColor?: string;
9+
indicatorCap: "round" | "inherit" | "butt" | "square" | undefined;
10+
}
11+
declare function CircularProgress(props: CircularProgressProps): JSX.Element;
12+
export default CircularProgress;

0 commit comments

Comments
 (0)