diff --git a/example/public/documentation/index.html b/example/public/documentation/index.html index a67f8b4d..7c0292e5 100644 --- a/example/public/documentation/index.html +++ b/example/public/documentation/index.html @@ -1 +1 @@ -Tabler React Style Guide
+Tabler React Style Guide
\ No newline at end of file diff --git a/rollup.config.js b/rollup.config.js index 805307cb..7a9d5869 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -12,23 +12,23 @@ export default { output: [ { file: pkg.main, - format: "cjs" + format: "cjs", }, { file: pkg.module, - format: "es" - } + format: "es", + }, ], plugins: [ external(), postcss({ - modules: true + modules: false, }), url(), babel({ - exclude: "node_modules/**" + exclude: "node_modules/**", }), resolve(), - commonjs() - ] + commonjs(), + ], }; diff --git a/src/components/Tabs/Tabs.react.js b/src/components/Tabs/Tabs.react.js index 3f6beba0..e502d3cc 100644 --- a/src/components/Tabs/Tabs.react.js +++ b/src/components/Tabs/Tabs.react.js @@ -6,7 +6,7 @@ import Tab from "./Tab.react"; import TabbedContainer from "./TabbedContainer.react"; import TabbedHeader from "./TabbedHeader.react"; -import styles from "./Tabs.css"; +import "./Tabs.css"; type Props = {| +initialTab: string, @@ -33,7 +33,7 @@ class Tabs extends React.PureComponent { > {children} -
+
{children} diff --git a/src/components/Tooltip/Tooltip.react.js b/src/components/Tooltip/Tooltip.react.js index ae8169cc..43047723 100644 --- a/src/components/Tooltip/Tooltip.react.js +++ b/src/components/Tooltip/Tooltip.react.js @@ -4,7 +4,7 @@ import * as React from "react"; import cn from "classnames"; import { Manager, Placement, Reference, Popper } from "react-popper"; import type { PopperChildrenProps, ReferenceChildrenProps } from "react-popper"; -import styles from "./Tooltip.css"; +import "./Tooltip.css"; type Props = {| /** @@ -58,8 +58,8 @@ class Tooltip extends React.Component { const arrowClasses = cn( "arrow", placement === "top" || placement === "bottom" - ? styles["tbr-arrow-vertical"] - : styles["tbr-arrow-horizontal"] + ? "tbr-arrow-vertical" + : "tbr-arrow-horizontal" ); return (