Skip to content

Commit dd6f2da

Browse files
committed
removed globals.d.ts as those types aren't exported
1 parent 54febdc commit dd6f2da

File tree

17 files changed

+21
-5
lines changed

17 files changed

+21
-5
lines changed

.storybook/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ configureViewport({
9393
});
9494

9595
function loadStories() {
96-
const req = require.context("../stories", true, /\.story\.tsx$/);
96+
// const req = require.context("../stories", true, /\.story\.tsx$/);
97+
const req = require.context("../stories/base", true, /\.story\.tsx$/);
9798
req.keys().forEach(filename => req(filename));
9899
}
99100

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rbx",
3-
"version": "1.0.0-beta.4",
3+
"version": "1.0.0-beta.5",
44
"description": "The Comprehensive Bulma UI Framework for React",
55
"main": "dist/bundle.cjs.js",
66
"module": "dist/bundle.esm.js",
@@ -15,6 +15,7 @@
1515
"lint": "tslint --project .",
1616
"storybook:deploy": "storybook-to-ghpages",
1717
"storybook": "start-storybook -p 9001 -c .storybook",
18+
"storybook:build": "build-storybook -c .storybook -o .out/storybook",
1819
"test:cov": "tslint --project . && jest --coverage",
1920
"test": "jest",
2021
"watch": "rollup -cw"

src/base/exotic.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from "react";
22

3+
import { Prefer } from "../types";
4+
35
export interface ForwardRefAsExoticComponent<
46
TOwnProps,
57
TDefaultComponent extends React.ReactType<any>

src/base/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import classNames from "classnames";
22
import PropTypes from "prop-types";
33

4+
import { Omit } from "../types";
45
import { tuple } from "../utils";
56

67
/**

src/components/breadcrumb/breadcrumb.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
HelpersProps,
99
transformHelpers,
1010
} from "../../base";
11+
import { Prefer } from "../../types";
1112
import { tuple } from "../../utils";
1213
import { BreadcrumbItem } from "./breadcrumb-item";
1314

src/components/modal/modal-card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
HelpersProps,
88
transformHelpers,
99
} from "../../base";
10+
import { Prefer } from "../../types";
1011
import { ModalCardBody } from "./modal-card-body";
1112
import { ModalCardFoot } from "./modal-card-foot";
1213
import { ModalCardHead } from "./modal-card-head";

src/components/modal/modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from "react";
33
import ReactDOM from "react-dom";
44

55
import { forwardRefAs } from "../../base";
6+
import { Omit } from "../../types";
67
import { canUseDOM } from "../../utils";
78
import { ModalBackground } from "./modal-background";
89
import { ModalCard } from "./modal-card";

src/components/navbar/navbar-brand.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
HelpersProps,
88
transformHelpers,
99
} from "../../base";
10+
import { Prefer } from "../../types";
1011

1112
export type NavbarBrandProps = Prefer<
1213
HelpersProps,

src/components/navbar/navbar-divider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
HelpersProps,
88
transformHelpers,
99
} from "../../base";
10+
import { Prefer } from "../../types";
1011

1112
export type NavbarDividerProps = Prefer<
1213
HelpersProps,

src/components/navbar/navbar-menu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
HelpersProps,
88
transformHelpers,
99
} from "../../base";
10+
import { Prefer } from "../../types";
1011
import { NavbarContext } from "./navbar-context";
1112

1213
export type NavbarMenuProps = Prefer<

0 commit comments

Comments
 (0)