-
diff --git a/lib/main.js b/lib/main.js
deleted file mode 100644
index 711da49..0000000
--- a/lib/main.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import { createIcon, resolveIcon } from "./icon"
-import { createCheckbox, resolveCheckbox } from "./checkbox"
-import { setTooltip, resolveTooltip } from "./tooltip"
-
-export {
- createIcon,
- resolveIcon,
- createCheckbox,
- resolveCheckbox,
- setTooltip,
- resolveTooltip
-}
diff --git a/lib/ui.js b/lib/ui.js
new file mode 100644
index 0000000..c5e59b7
--- /dev/null
+++ b/lib/ui.js
@@ -0,0 +1,12 @@
+import { createIcon, resolveIcon } from "./ui/icon"
+import { createCheckbox, resolveCheckbox } from "./ui/checkbox"
+import { setTooltip, resolveTooltip } from "./ui/tooltip"
+
+export {
+ createIcon,
+ resolveIcon,
+ createCheckbox,
+ resolveCheckbox,
+ setTooltip,
+ resolveTooltip
+}
diff --git a/lib/checkbox.d.ts b/lib/ui/checkbox.d.ts
similarity index 100%
rename from lib/checkbox.d.ts
rename to lib/ui/checkbox.d.ts
diff --git a/lib/checkbox.js b/lib/ui/checkbox.js
similarity index 100%
rename from lib/checkbox.js
rename to lib/ui/checkbox.js
diff --git a/lib/icon.d.ts b/lib/ui/icon.d.ts
similarity index 100%
rename from lib/icon.d.ts
rename to lib/ui/icon.d.ts
diff --git a/lib/icon.js b/lib/ui/icon.js
similarity index 100%
rename from lib/icon.js
rename to lib/ui/icon.js
diff --git a/lib/tooltip.d.ts b/lib/ui/tooltip.d.ts
similarity index 100%
rename from lib/tooltip.d.ts
rename to lib/ui/tooltip.d.ts
diff --git a/lib/tooltip.js b/lib/ui/tooltip.js
similarity index 100%
rename from lib/tooltip.js
rename to lib/ui/tooltip.js
diff --git a/main.js b/main.js
index 7597563..08a613f 100644
--- a/main.js
+++ b/main.js
@@ -1,8 +1,7 @@
import './css/ui.min.css'
import './style.css'
import javascriptLogo from './javascript.svg'
-import { resolveCheckbox, resolveIcon } from './lib/main.js'
-import { resolveTooltip } from './lib/tooltip'
+import { resolveCheckbox, resolveIcon, resolveTooltip } from './lib/ui'
document.querySelector('#js-logo').src = javascriptLogo