aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-02-04 21:49:23 +0100
committerRobert Jaros <rjaros@finn.pl>2018-02-04 21:49:23 +0100
commit70d2f14d4a34f841a3161482eec5d355cbd755f6 (patch)
tree847cb461a2f261f6f2b3a6b0ebbc6918f1da0467 /src/test
parent9665fe692681bc958e55d00cc0d0b238b7aee694 (diff)
downloadkvision-70d2f14d4a34f841a3161482eec5d355cbd755f6.tar.gz
kvision-70d2f14d4a34f841a3161482eec5d355cbd755f6.tar.bz2
kvision-70d2f14d4a34f841a3161482eec5d355cbd755f6.zip
Refactoring packages layout
Diffstat (limited to 'src/test')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt (renamed from src/test/kotlin/test/pl/treksoft/kvision/core/KVManagerSpec.kt)11
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/ContainerSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/WidgetSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/HelpBlockSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptGroupSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptionSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeInputSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/ButtonSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/LabelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/LinkSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/ListSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/TagSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/modal/AlertSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/modal/CloseIconSpec.kt (renamed from src/test/kotlin/test/pl/treksoft/kvision/helpers/CloseIconSpec.kt)6
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/modal/ConfirmSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/modal/ModalSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/DockPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/FlexPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/GridPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/HPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/ResponsiveGridPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/RootSpec.kt (renamed from src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt)4
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/SplitPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/StackPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt2
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/VPanelSpec.kt2
48 files changed, 55 insertions, 56 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/KVManagerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt
index 307ebd67..bbf3241f 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/KVManagerSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt
@@ -1,11 +1,10 @@
-package test.pl.treksoft.kvision.core
+package test.pl.treksoft.kvision
import com.github.snabbdom.h
-import pl.treksoft.kvision.core.KVManager
-import pl.treksoft.kvision.snabbdom.snAttrs
-import pl.treksoft.kvision.snabbdom.snOpt
-import pl.treksoft.kvision.snabbdom.snStyle
-import test.pl.treksoft.kvision.DomSpec
+import pl.treksoft.kvision.KVManager
+import pl.treksoft.kvision.utils.snAttrs
+import pl.treksoft.kvision.utils.snOpt
+import pl.treksoft.kvision.utils.snStyle
import kotlin.browser.document
import kotlin.test.Test
import kotlin.test.assertTrue
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt b/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
index 808ca86d..a7e2e872 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
@@ -2,7 +2,7 @@ package test.pl.treksoft.kvision
import org.w3c.dom.Element
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.core.Widget
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/ContainerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/ContainerSpec.kt
index e0bc16da..923ec98f 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/ContainerSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/core/ContainerSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.core
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.core.Widget
import pl.treksoft.kvision.panel.SimplePanel
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetSpec.kt
index 4e8c4ea1..8c0ec323 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.core
-import pl.treksoft.kvision.core.Root
import pl.treksoft.kvision.core.Widget
+import pl.treksoft.kvision.panel.Root
import test.pl.treksoft.kvision.WSpec
import kotlin.browser.document
import kotlin.test.Test
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt
index 01aee755..0c686de0 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/core/WidgetWrapperSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.core
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.core.UNIT
import pl.treksoft.kvision.core.Widget
import pl.treksoft.kvision.core.WidgetWrapper
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
index 20a1e484..9eb97115 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/data/DataContainerSpec.kt
@@ -2,7 +2,7 @@ package test.pl.treksoft.kvision.data
import com.lightningkite.kotlin.observable.list.observableListOf
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.data.BaseDataComponent
import pl.treksoft.kvision.data.DataContainer
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt
index 41931abd..530cb941 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.dropdown
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.dropdown.DD
import pl.treksoft.kvision.dropdown.DropDown
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt
index fa206efd..99dd9ebe 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/FieldLabelSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.FieldLabel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/HelpBlockSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/HelpBlockSpec.kt
index 1b8d2a6a..642e5f2b 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/HelpBlockSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/HelpBlockSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.HelpBlock
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt
index e049aa17..04cbbff9 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.check
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.check.CHECKBOXSTYLE
import pl.treksoft.kvision.form.check.CheckBox
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt
index 584b1232..84ed59e2 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.check
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.check.CHECKINPUTTYPE
import pl.treksoft.kvision.form.check.CheckInput
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt
index d301a533..638a887e 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.check
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.check.Radio
import pl.treksoft.kvision.form.check.RadioGroup
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt
index 6eedfd27..3826b3a8 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.check
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.check.RADIOSTYLE
import pl.treksoft.kvision.form.check.Radio
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt
index 28f9eb03..a191ba5d 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.select
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.select.SELECTWIDTHTYPE
import pl.treksoft.kvision.form.select.SelectInput
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptGroupSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptGroupSpec.kt
index 8562d3cc..9de293ad 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptGroupSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptGroupSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.select
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.select.SelectOptGroup
import pl.treksoft.kvision.form.select.SelectOption
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptionSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptionSpec.kt
index 221d46b0..c7b314cd 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptionSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectOptionSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.select
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.select.SelectOption
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
index 1afb6c79..b265b994 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.select
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.select.SELECTWIDTHTYPE
import pl.treksoft.kvision.form.select.Select
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerInputSpec.kt
index 8c90c684..acfce2c4 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.spinner
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.spinner.SpinnerInput
import test.pl.treksoft.kvision.DomSpec
import kotlin.test.Test
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt
index 8a7a346b..7882b16c 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.spinner
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.spinner.Spinner
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt
index 1cbb29cc..cc86061b 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.text
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.Password
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextInputSpec.kt
index 92e0e9ff..511898ee 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextInputSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.form.text
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.RichTextInput
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextSpec.kt
index 28ce2ee7..719453c9 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/RichTextSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.form.text
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.RichText
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt
index a27e959d..54eba437 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.text
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.TextAreaInput
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt
index 8f9cf639..3207fe9d 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.text
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.TextArea
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt
index a3402c45..45861293 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.text
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.TEXTINPUTTYPE
import pl.treksoft.kvision.form.text.TextInput
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt
index 77741f26..27e30c8c 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.text
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.text.Text
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeInputSpec.kt
index 909c4928..28916443 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeInputSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeInputSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.time
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.time.DateTimeInput
import pl.treksoft.kvision.utils.toStringF
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt
index 8ac43174..96cbf34e 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.form.time
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.form.time.DateTime
import pl.treksoft.kvision.utils.toStringF
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/ButtonSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/ButtonSpec.kt
index e81cec7b..39d53881 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/ButtonSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/ButtonSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.BUTTONSIZE
import pl.treksoft.kvision.html.BUTTONSTYLE
import pl.treksoft.kvision.html.Button
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt
index 283847e8..f19fcd8a 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/ImageSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.IMAGESHAPE
import pl.treksoft.kvision.html.Image
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/LabelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/LabelSpec.kt
index 9c6c4e6e..2d83df63 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/LabelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/LabelSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.Label
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/LinkSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/LinkSpec.kt
index 0087f56a..7ab75809 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/LinkSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/LinkSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.Link
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/ListSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/ListSpec.kt
index bdf1ca0f..f3f093ed 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/ListSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/ListSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.LIST
import pl.treksoft.kvision.html.ListTag
import pl.treksoft.kvision.html.TAG
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/TagSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/TagSpec.kt
index 9840ff3e..88ce062a 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/TagSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/TagSpec.kt
@@ -1,6 +1,6 @@
package test.pl.treksoft.kvision.html
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.html.ALIGN
import pl.treksoft.kvision.html.Link
import pl.treksoft.kvision.html.TAG
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/modal/AlertSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/modal/AlertSpec.kt
index d34bbb2b..6582e33c 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/modal/AlertSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/modal/AlertSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.modal
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.modal.Alert
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/helpers/CloseIconSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/modal/CloseIconSpec.kt
index eb573d4f..275ceb6b 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/helpers/CloseIconSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/modal/CloseIconSpec.kt
@@ -1,7 +1,7 @@
-package test.pl.treksoft.kvision.helpers
+package test.pl.treksoft.kvision.modal
-import pl.treksoft.kvision.core.Root
-import pl.treksoft.kvision.helpers.CloseIcon
+import pl.treksoft.kvision.modal.CloseIcon
+import pl.treksoft.kvision.panel.Root
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
import kotlin.test.Test
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/modal/ConfirmSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/modal/ConfirmSpec.kt
index 06b71720..479d6418 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/modal/ConfirmSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/modal/ConfirmSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.modal
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.modal.Confirm
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/modal/ModalSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/modal/ModalSpec.kt
index 7bdd3562..efc449c7 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/modal/ModalSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/modal/ModalSpec.kt
@@ -1,8 +1,8 @@
package test.pl.treksoft.kvision.modal
import pl.treksoft.jquery.jQuery
-import pl.treksoft.kvision.core.Root
import pl.treksoft.kvision.modal.Modal
+import pl.treksoft.kvision.panel.Root
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
import kotlin.test.Test
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/DockPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/DockPanelSpec.kt
index c748a45c..2e63821b 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/DockPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/DockPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.DockPanel
import pl.treksoft.kvision.panel.SIDE
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/FlexPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/FlexPanelSpec.kt
index d79b06f9..a662bcbd 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/FlexPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/FlexPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.FLEXDIR
import pl.treksoft.kvision.panel.FLEXJUSTIFY
import pl.treksoft.kvision.panel.FlexPanel
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/GridPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/GridPanelSpec.kt
index 6590e0b0..3bbd0b95 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/GridPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/GridPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.GridPanel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/HPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/HPanelSpec.kt
index a76c7eb0..f380d8e4 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/HPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/HPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.FLEXJUSTIFY
import pl.treksoft.kvision.panel.HPanel
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/ResponsiveGridPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/ResponsiveGridPanelSpec.kt
index d52fb3d7..c0343395 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/ResponsiveGridPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/ResponsiveGridPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.ResponsiveGridPanel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/RootSpec.kt
index 9895c16d..203bba8f 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/RootSpec.kt
@@ -1,7 +1,7 @@
-package test.pl.treksoft.kvision.core
+package test.pl.treksoft.kvision.panel
-import pl.treksoft.kvision.core.Root
import pl.treksoft.kvision.modal.Modal
+import pl.treksoft.kvision.panel.Root
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
import kotlin.test.Test
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/SplitPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/SplitPanelSpec.kt
index 4be7f441..a6d1c4a3 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/SplitPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/SplitPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.DIRECTION
import pl.treksoft.kvision.panel.SplitPanel
import test.pl.treksoft.kvision.DomSpec
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/StackPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/StackPanelSpec.kt
index 51e4a3f2..3232a419 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/StackPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/StackPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.StackPanel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt
index 4d1803b1..527f6297 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.TabPanel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/panel/VPanelSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/VPanelSpec.kt
index ad8ceaac..ec52d753 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/panel/VPanelSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/VPanelSpec.kt
@@ -1,7 +1,7 @@
package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.html.Label
-import pl.treksoft.kvision.core.Root
+import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.panel.FLEXJUSTIFY
import pl.treksoft.kvision.panel.VPanel
import test.pl.treksoft.kvision.DomSpec