From 164e955584d86a1c90c33845c28d2ac7ece96056 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 26 Jan 2021 00:22:13 +0100 Subject: [PATCH] Add indexes --- .idea/discord.xml | 6 ++++++ package.json | 2 +- src/components/index.js | 22 ++++++++++++++++++++++ src/contexts/index.js | 3 +++ src/hooks/index.js | 1 + src/index.js | 9 --------- src/utils/index.js | 1 + 7 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 .idea/discord.xml create mode 100644 src/components/index.js create mode 100644 src/contexts/index.js create mode 100644 src/hooks/index.js create mode 100644 src/utils/index.js diff --git a/.idea/discord.xml b/.idea/discord.xml new file mode 100644 index 0000000..cd711a0 --- /dev/null +++ b/.idea/discord.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 3b4702c..b58f292 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bluelib", - "version": "0.23.2", + "version": "0.23.3", "description": "React components for Bluelib", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/components/index.js b/src/components/index.js new file mode 100644 index 0000000..0be41ef --- /dev/null +++ b/src/components/index.js @@ -0,0 +1,22 @@ +export {default as Align} from "./Align"; +export {default as Anchor} from "./Anchor"; +export {default as Aside} from "./Aside"; +export {default as Blockquote} from "./Blockquote"; +export {default as Bluelib} from "./Bluelib"; +export {default as Bold} from "./Bold"; +export {default as Box} from "./Box"; +export {default as Code} from "./Code"; +export {default as Color} from "./Color"; +export {default as Help} from "./Help"; +export {default as Italic} from "./Italic"; +export {default as LatexMath} from "./LatexMath"; +export {default as Main} from "./Main"; +export {default as Paragraph} from "./Paragraph"; +export {default as Separator} from "./Separator"; +export {default as Size} from "./Size"; +export {default as Split} from "./Split"; +export {default as Spoiler} from "./Spoiler"; +export {default as Strike} from "./Strike"; +export {default as Table} from "./Table"; +export {default as Title} from "./Title"; +export {default as Underline} from "./Underline"; diff --git a/src/contexts/index.js b/src/contexts/index.js new file mode 100644 index 0000000..5e5eb79 --- /dev/null +++ b/src/contexts/index.js @@ -0,0 +1,3 @@ +export {default as ContextBluelibSkin} from "./ContextBluelibSkin"; +export {default as ContextCodeSkin} from "./ContextCodeSkin"; +export {default as ContextCodeLanguage} from "./ContextCodeLanguage"; diff --git a/src/hooks/index.js b/src/hooks/index.js new file mode 100644 index 0000000..ab95dea --- /dev/null +++ b/src/hooks/index.js @@ -0,0 +1 @@ +export {default as useBluelibClassNames} from "./useBluelibClassNames"; diff --git a/src/index.js b/src/index.js index 00c9954..e69de29 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +0,0 @@ -import React, {Component} from 'react' - -export default class extends Component { - render() { - return
-

Welcome to React components

-
- } -} diff --git a/src/utils/index.js b/src/utils/index.js new file mode 100644 index 0000000..b5df4a4 --- /dev/null +++ b/src/utils/index.js @@ -0,0 +1 @@ +export {default as isString} from "./isString";