From caee577929870603eb0ef7f28c89c2c4207b8050 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 26 Jan 2020 15:50:08 +0300 Subject: feat: initialize npm module, add components --- src/lib/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/lib/index.js (limited to 'src/lib/index.js') diff --git a/src/lib/index.js b/src/lib/index.js new file mode 100644 index 0000000..e0179c3 --- /dev/null +++ b/src/lib/index.js @@ -0,0 +1,8 @@ +import Window from './components/Window/Window'; +import Header from './components/Header/Header'; +import ContentSection from './components/ContentSection/ContentSection'; +import SmartList from './components/SmartList/SmartList'; + + + +export defaut { Window, Header, ContentSection, SmartList }; -- cgit v1.2.3 From 3487efe54ee0a70cf4873cb714a9e5e35b63e77e Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 26 Jan 2020 16:06:51 +0300 Subject: feat: install material-ui, add theme --- src/lib/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/index.js') diff --git a/src/lib/index.js b/src/lib/index.js index e0179c3..220703f 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -4,5 +4,4 @@ import ContentSection from './components/ContentSection/ContentSection'; import SmartList from './components/SmartList/SmartList'; - -export defaut { Window, Header, ContentSection, SmartList }; +export default { Window, Header, ContentSection, SmartList }; -- cgit v1.2.3 From a526d3c85a40834257c5b78d6f31a983e42c5b97 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 26 Jan 2020 16:20:17 +0300 Subject: feat: prepare for publish --- src/lib/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/lib/index.js') diff --git a/src/lib/index.js b/src/lib/index.js index 220703f..a983a23 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -1,7 +1,5 @@ -import Window from './components/Window/Window'; -import Header from './components/Header/Header'; -import ContentSection from './components/ContentSection/ContentSection'; -import SmartList from './components/SmartList/SmartList'; - - -export default { Window, Header, ContentSection, SmartList }; +export { default as Window } from './components/Window/Window'; +export { default as Header } from './components/Header/Header'; +export { default as ContentSection } from './components/ContentSection/ContentSection'; +export { default as SmartList } from './components/SmartList/SmartList'; +export { default as theme } from './theme'; -- cgit v1.2.3 From 72e9ea60b82f95f858aa341b5c0b63e277f6779f Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 27 Jan 2020 13:32:50 +0300 Subject: feat: export ThemeProvider instead of theme --- src/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/index.js') diff --git a/src/lib/index.js b/src/lib/index.js index a983a23..0476c34 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -2,4 +2,4 @@ export { default as Window } from './components/Window/Window'; export { default as Header } from './components/Header/Header'; export { default as ContentSection } from './components/ContentSection/ContentSection'; export { default as SmartList } from './components/SmartList/SmartList'; -export { default as theme } from './theme'; +export { default as BenzinThemeProvider } from './components/BenzinThemeProvider/BenzinThemeProvider'; -- cgit v1.2.3