Skip to content

Commit 99c2754

Browse files
committed
v0.2.0 - removed standalone components from library export
1 parent 8bcadd3 commit 99c2754

15 files changed

+20
-32
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@membean/react-uikit",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"main": "dist/index.js",
55
"module": "dist/index.js",
66
"files": [

src/lib/components/CheckBoxInput/StandaloneCheckBoxInput.js renamed to src/components/StandaloneCheckBoxInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useRef, useState } from "react";
2-
import CheckBoxInput from "./CheckBoxInput.js";
2+
import CheckBoxInput from "../lib/components/CheckBoxInput/CheckBoxInput.js";
33

44
const StandaloneCheckBoxInput = () => {
55
const inputEl = useRef(null);

src/lib/components/FileBrowserInput/StandaloneFileBrowserInput.js renamed to src/components/StandaloneFileBrowserInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from "react";
2-
import FileBrowserInput from "./FileBrowserInput.js";
2+
import FileBrowserInput from "../lib/components/FileBrowserInput/FileBrowserInput.js";
33

44
const StandaloneFileBrowserInput = () => {
55
const emptyPrompt = "Choose file(s)...";

src/lib/components/ProgressBar/StandaloneProgressBar.js renamed to src/components/StandaloneProgressBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useRef, useState } from "react";
2-
import ProgressBar from "./ProgressBar.js";
2+
import ProgressBar from "../lib/components/ProgressBar/ProgressBar.js";
33

44
const StandaloneProgressBar = () => {
55
const progressEl = useRef(null);

src/lib/components/RadioGroupInput/StandaloneRadioGroupInput.js renamed to src/components/StandaloneRadioGroupInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from "react";
2-
import RadioGroupInput from "./RadioGroupInput.js";
2+
import RadioGroupInput from "../lib/components/RadioGroupInput/RadioGroupInput.js";
33

44
const StandaloneRadioGroupInput = () => {
55
const options = [

src/lib/components/SelectInput/StandaloneSelectInput.js renamed to src/components/StandaloneSelectInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useRef, useState } from "react";
2-
import SelectInput from "./SelectInput.js";
2+
import SelectInput from "../lib/components/SelectInput/SelectInput.js";
33

44
const StandaloneSelectInput = () => {
55
const inputEl = useRef(null);

src/lib/components/TextInput/StandaloneTextInput.js renamed to src/components/StandaloneTextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useRef, useState } from "react";
2-
import TextInput from "./TextInput.js";
2+
import TextInput from "../lib/components/TextInput/TextInput.js";
33

44
const StandaloneTextInput = () => {
55
const inputEl = useRef(null);

src/lib/index.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
11
import CheckBoxInput from "./components/CheckBoxInput/CheckBoxInput.js";
2-
import StandaloneCheckBoxInput from "./components/CheckBoxInput/StandaloneCheckBoxInput.js";
32
import FileBrowserInput from "./components/FileBrowserInput/FileBrowserInput.js";
4-
import StandaloneFileBrowserInput from "./components/FileBrowserInput/StandaloneFileBrowserInput.js";
53
import ProgressBar from "./components/ProgressBar/ProgressBar.js";
6-
import StandaloneProgressBar from "./components/ProgressBar/StandaloneProgressBar.js";
74
import RadioGroupInput from "./components/RadioGroupInput/RadioGroupInput.js";
8-
import StandaloneRadioGroupInput from "./components/RadioGroupInput/StandaloneRadioGroupInput.js";
95
import RadioButtonInput from "./components/RadioGroupInput/RadioButtonInput.js";
106
import SelectInput from "./components/SelectInput/SelectInput.js";
11-
import StandaloneSelectInput from "./components/SelectInput/StandaloneSelectInput.js";
127
import TextInput from "./components/TextInput/TextInput.js";
13-
import StandaloneTextInput from "./components/TextInput/StandaloneTextInput.js";
148

159
export {
1610
CheckBoxInput,
17-
StandaloneCheckBoxInput,
1811
FileBrowserInput,
19-
StandaloneFileBrowserInput,
2012
ProgressBar,
21-
StandaloneProgressBar,
2213
RadioGroupInput,
23-
StandaloneRadioGroupInput,
2414
RadioButtonInput,
2515
SelectInput,
26-
StandaloneSelectInput,
27-
TextInput,
28-
StandaloneTextInput
16+
TextInput
2917
};

src/pages/CheckBoxInputPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import CheckBoxInput from "../lib/components/CheckBoxInput/CheckBoxInput.js";
3-
import StandaloneCheckBoxInput from "../lib/components/CheckBoxInput/StandaloneCheckBoxInput.js";
3+
import StandaloneCheckBoxInput from "../components/StandaloneCheckBoxInput.js";
44

55
const CheckBoxInputPage = () => {
66
return (

src/pages/FileBrowserInputPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import FileBrowserInput from "../lib/components/FileBrowserInput/FileBrowserInput.js";
3-
import StandaloneFileBrowserInput from "../lib/components/FileBrowserInput/StandaloneFileBrowserInput.js";
3+
import StandaloneFileBrowserInput from "../components/StandaloneFileBrowserInput.js";
44

55
const FileBrowserInputPage = () => {
66
return (

0 commit comments

Comments
 (0)