Skip to content

Commit bb88f7c

Browse files
committed
chore: build GNUI for github install
1 parent acdf831 commit bb88f7c

243 files changed

Lines changed: 24639 additions & 3 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
.pnp.js
77
.idea
88

9-
/dist
9+
# TODO: uncomment when we have npmjs access back
10+
#/dist
1011

1112
# testing
1213
/coverage
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import * as React from "react";
2+
import { SpaceProps } from "styled-system";
3+
type AccordionProps = {
4+
children: React.ReactNode;
5+
};
6+
type AccordionHeaderProps = {
7+
title: string;
8+
description?: string;
9+
children: React.ReactNode;
10+
small?: boolean;
11+
};
12+
type AccordionItemProps = {
13+
children: React.ReactNode;
14+
};
15+
type HeaderIconProps = {
16+
animate?: boolean;
17+
cursor?: string;
18+
};
19+
export declare const HeaderIcon: import("styled-components").StyledComponent<"div", any, HeaderIconProps, never>;
20+
export declare function AccordionItem({ children, ...props }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
21+
export declare function AccordionHeader({ title, description, children, small, }: AccordionHeaderProps): import("react/jsx-runtime").JSX.Element;
22+
export declare function Accordion({ children, ...props }: AccordionProps & SpaceProps): import("react/jsx-runtime").JSX.Element;
23+
export {};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { Meta, StoryObj } from "@storybook/react";
2+
declare const meta: Meta;
3+
export default meta;
4+
export declare const AccordionDefault: StoryObj;
5+
export declare const AccordionHeaderDefault: StoryObj;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "./Accordion";
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
type IBarValue = {
2+
color: string;
3+
value: number;
4+
};
5+
type IBarValues = {
6+
values: IBarValue[];
7+
};
8+
type IStyledBarProps = {
9+
height?: string;
10+
};
11+
type BarProps = IBarValues & IStyledBarProps;
12+
export declare function BarChart({ values, ...visualProps }: BarProps): import("react/jsx-runtime").JSX.Element;
13+
export {};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { Meta, StoryObj } from "@storybook/react";
2+
declare const meta: Meta;
3+
export default meta;
4+
export declare const Default: StoryObj;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "./BarChart";

dist/components/box/Box.d.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import * as React from "react";
2+
import { SpaceProps } from "styled-system";
3+
import theme from "../../theme";
4+
type BoxProps = {
5+
dark?: boolean;
6+
minHeight?: string;
7+
minWidth?: string;
8+
border?: keyof typeof theme.borders;
9+
color?: string;
10+
backgroundColor?: string;
11+
radius?: keyof typeof theme.radius;
12+
spacing?: keyof typeof theme.spacing;
13+
innerSpacing?: keyof typeof theme.spacing;
14+
shadow?: keyof typeof theme.shadow;
15+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
16+
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
17+
children?: React.ReactNode;
18+
boxStyle?: "grey" | "lightGrey";
19+
};
20+
declare const StyledBox: import("styled-components").StyledComponent<(props: {
21+
[x: string]: any;
22+
[x: number]: any;
23+
[x: symbol]: any;
24+
} & {
25+
theme?: any;
26+
} & {
27+
as?: string | React.ComponentType<any> | undefined;
28+
forwardedAs?: string | React.ComponentType<any> | undefined;
29+
} & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null, any, BoxProps & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
30+
export declare function Box({ children, ...props }: React.ComponentProps<typeof StyledBox>): import("react/jsx-runtime").JSX.Element;
31+
export {};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Meta, StoryObj } from "@storybook/react";
2+
declare const meta: Meta;
3+
export default meta;
4+
export declare const BoxDefault: StoryObj;
5+
export declare const BoxStyle: StoryObj;
6+
export declare const Dark: StoryObj;
7+
export declare const Border: StoryObj;
8+
export declare const Radius: StoryObj;
9+
export declare const InnerSpacing: StoryObj;
10+
export declare const Shadow: StoryObj;
11+
export declare const Color: StoryObj;
12+
export declare const Background: StoryObj;

dist/components/box/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "./Box";

0 commit comments

Comments
 (0)