diff --git a/.gitignore b/.gitignore index f5231d40..c2fbcad3 100644 --- a/.gitignore +++ b/.gitignore @@ -73,4 +73,4 @@ full .coverage .vscode .cache -.docz +.rpt2_cache diff --git a/.storybook/config.ts b/.storybook/config.ts index 476248fe..f07286ab 100644 --- a/.storybook/config.ts +++ b/.storybook/config.ts @@ -7,9 +7,9 @@ import { addDecorator, configure } from "@storybook/react"; import "../src/index.sass"; setOptions({ - name: "React Bulma Components", + name: "RBX", showAddonPanel: true, - url: "https://github.com/couds/react-bulma-components", + url: "https://github.com/dfee/rbx", }); addDecorator( diff --git a/LICENSE b/LICENSE index b6f144dc..1e9b142f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 John +Copyright (c) 2018 John Smith, Devin Fee Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 7943604f..f5a6ddef 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,15 @@ -#
- John Smith @johnsmith{" "}
- 31m
+ Devin Fee @dfee 31m
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin
ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas
diff --git a/src/components/button/__tests__/__snapshots__/button.test.tsx.snap b/src/components/button/__tests__/__snapshots__/button.test.tsx.snap
index 65f5a7d9..799076d4 100644
--- a/src/components/button/__tests__/__snapshots__/button.test.tsx.snap
+++ b/src/components/button/__tests__/__snapshots__/button.test.tsx.snap
@@ -166,7 +166,7 @@ exports[`Button component Should be an anchor button 1`] = `
diff --git a/src/components/button/__tests__/button.test.tsx b/src/components/button/__tests__/button.test.tsx
index f5b49554..6d23ced2 100644
--- a/src/components/button/__tests__/button.test.tsx
+++ b/src/components/button/__tests__/button.test.tsx
@@ -25,10 +25,7 @@ describe("Button component", () => {
it("Should be an anchor button", () => {
const component = renderer.create(
- ,
+ ,
);
expect(component.toJSON()).toMatchSnapshot();
});
diff --git a/src/components/button/button.story.tsx b/src/components/button/button.story.tsx
index 871ff639..7fb43e53 100644
--- a/src/components/button/button.story.tsx
+++ b/src/components/button/button.story.tsx
@@ -6,22 +6,17 @@ import React from "react";
import { Box } from "@/components/box";
import { Button } from "@/components/button";
import { Section } from "@/components/section";
+import { COLORS } from "@/modifiers/colors";
const makeColorSelect = () =>
select(
- "Color",
+ "Colors",
{
Default: "",
- black: "black",
- danger: "danger",
- dark: "dark",
- info: "info",
- light: "light",
- link: "link",
- primary: "primary",
- success: "success",
- warning: "warning",
- white: "white",
+ ...Object.assign(
+ {},
+ ...COLORS.map((color: string) => ({ [color]: color })),
+ ),
},
"Default",
);
@@ -84,7 +79,7 @@ storiesOf("Button", module)
diff --git a/src/components/card/card.story.tsx b/src/components/card/card.story.tsx
index 7f856be3..bd4fe386 100644
--- a/src/components/card/card.story.tsx
+++ b/src/components/card/card.story.tsx
@@ -29,9 +29,9 @@ storiesOf("Card", module)
/>
- John Smith @johnsmith{" "}
+ Devin Fee @dfee{" "}
31m
- John Smith @johnsmith{" "}
+ Devin Fee @dfee{" "}
31m
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin
diff --git a/src/components/modal/modal.story.tsx b/src/components/modal/modal.story.tsx
index 687a5b0d..85d69d4e 100644
--- a/src/components/modal/modal.story.tsx
+++ b/src/components/modal/modal.story.tsx
@@ -95,7 +95,7 @@ storiesOf("Modal", module)
If the children of the Modal is a card, the close button will
diff --git a/src/components/panel/panel.story.tsx b/src/components/panel/panel.story.tsx
index 65007ce3..9cfc0258 100644
--- a/src/components/panel/panel.story.tsx
+++ b/src/components/panel/panel.story.tsx
@@ -29,7 +29,7 @@ storiesOf("Panel", module)