('aiao-tree-node');
diff --git a/libs/elements/scripts/testing/styles.css b/libs/elements/scripts/testing/styles.css
index 3eca6f399..9c9ca9274 100644
--- a/libs/elements/scripts/testing/styles.css
+++ b/libs/elements/scripts/testing/styles.css
@@ -34,12 +34,12 @@
:root,
html,
html.md.md {
- --ion-font-family: Roboto, 'mdTestingFont', sans-serif;
+ --aiao-font-family: Roboto, 'mdTestingFont', sans-serif;
font-family: Roboto, 'mdTestingFont', sans-serif;
}
:root.ios.ios,
html.ios.ios {
- --ion-font-family: -apple-system, BlinkMacSystemFont, 'iosTestingFont', sans-serif;
+ --aiao-font-family: -apple-system, BlinkMacSystemFont, 'iosTestingFont', sans-serif;
font-family: -apple-system, BlinkMacSystemFont, 'iosTestingFont', sans-serif;
}
diff --git a/libs/elements/src/lib/components/code-diff-editor/test/basic/index.html b/libs/elements/src/lib/components/code-diff-editor/test/basic/index.html
index c5098d251..f1110cc8f 100644
--- a/libs/elements/src/lib/components/code-diff-editor/test/basic/index.html
+++ b/libs/elements/src/lib/components/code-diff-editor/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -21,6 +16,13 @@
+
diff --git a/libs/elements/src/lib/components/code-editor/test/basic/index.html b/libs/elements/src/lib/components/code-editor/test/basic/index.html
index fc9c21cc0..9e02115e8 100644
--- a/libs/elements/src/lib/components/code-editor/test/basic/index.html
+++ b/libs/elements/src/lib/components/code-editor/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -23,11 +18,17 @@
- css
- typescript
- format
-
+
+
+
+
-
@@ -26,6 +22,13 @@
+
diff --git a/libs/elements/src/lib/components/code-editor/test/cdn/index.html b/libs/elements/src/lib/components/code-editor/test/cdn/index.html
index a6c824ed0..132771be6 100644
--- a/libs/elements/src/lib/components/code-editor/test/cdn/index.html
+++ b/libs/elements/src/lib/components/code-editor/test/cdn/index.html
@@ -4,10 +4,6 @@
Stencil Component Starter
-
-
-
-
@@ -19,6 +15,13 @@
+
diff --git a/libs/elements/src/lib/components/code-editor/test/json-value/index.html b/libs/elements/src/lib/components/code-editor/test/json-value/index.html
index c1527a505..7345b110f 100644
--- a/libs/elements/src/lib/components/code-editor/test/json-value/index.html
+++ b/libs/elements/src/lib/components/code-editor/test/json-value/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -21,6 +16,13 @@
+
diff --git a/libs/elements/src/lib/components/elements-editor/test/basic/index.html b/libs/elements/src/lib/components/elements-editor/test/basic/index.html
index bd54a0dd0..34a822cd8 100644
--- a/libs/elements/src/lib/components/elements-editor/test/basic/index.html
+++ b/libs/elements/src/lib/components/elements-editor/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -21,6 +16,11 @@
+
@@ -42,14 +42,11 @@
editor.view = view;
editor.value = [
{
- tag: 'ion-button',
+ tag: 'button',
innerText: 'button',
class: {
a: true
},
- attributes: {
- mode: 'ios'
- },
style: {
minWidth: '200px'
}
diff --git a/libs/elements/src/lib/components/elements-editor/test/preview/index.html b/libs/elements/src/lib/components/elements-editor/test/preview/index.html
index 0337b3203..c31db1a00 100644
--- a/libs/elements/src/lib/components/elements-editor/test/preview/index.html
+++ b/libs/elements/src/lib/components/elements-editor/test/preview/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -21,6 +16,11 @@
+
@@ -39,30 +39,16 @@
];
editor.value = [
{
- tag: 'ion-button',
+ tag: 'button',
innerText: 'button',
class: {
a: true
},
- attributes: {
- mode: 'ios'
- },
style: {
minWidth: '200px'
}
},
- {
- tag: 'h1'
- },
- {
- tag: 'div',
- children: [
- {
- tag: 'h1',
- innerText: 'true'
- }
- ]
- },
+ { tag: 'h1' },
{
tag: 'aiao-img',
attributes: {
diff --git a/libs/elements/src/lib/components/elements-form/elements-form.tsx b/libs/elements/src/lib/components/elements-form/elements-form.tsx
index 8c32a9555..f8663abe9 100644
--- a/libs/elements/src/lib/components/elements-form/elements-form.tsx
+++ b/libs/elements/src/lib/components/elements-form/elements-form.tsx
@@ -14,7 +14,7 @@ export class ElementsFrom implements ComponentInterface {
private _formInputElements: HTMLInputElement[];
private _formElements: Element[];
- viewRef: HTMLAiaoElementsViewElement;
+ viewRef: HTMLElement;
@Element() el!: HTMLElement;
form: HTMLFormElement;
@@ -186,7 +186,7 @@ export class ElementsFrom implements ComponentInterface {
return (
);
diff --git a/libs/elements/src/lib/components/elements-form/test/basic/index.html b/libs/elements/src/lib/components/elements-form/test/basic/index.html
index 6bc389e32..2f2fa7a67 100644
--- a/libs/elements/src/lib/components/elements-form/test/basic/index.html
+++ b/libs/elements/src/lib/components/elements-form/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -39,19 +34,18 @@ change event
const input = document.querySelector('#input');
const change = document.querySelector('#change');
form.html = `
-
-
-
-
- car 0
-
-
-
- car 1
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
`;
form.value = {
@@ -59,12 +53,10 @@ change event
car: ['BMW', 'Honda']
};
form.addEventListener('aiaoChange', e => {
- console.log('change', e);
change.textContent = JSON.stringify(e.detail.value, { spece: 2 });
});
form.addEventListener('aiaoInput', e => {
- console.log('input', e);
input.textContent = JSON.stringify(e.detail.value, { spece: 2 });
});
diff --git a/libs/elements/src/lib/components/elements-preview/test/basic/index.html b/libs/elements/src/lib/components/elements-preview/test/basic/index.html
index 33f758af4..c349784ba 100644
--- a/libs/elements/src/lib/components/elements-preview/test/basic/index.html
+++ b/libs/elements/src/lib/components/elements-preview/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -22,6 +17,11 @@
}
+ {js && }
+
+
+ );
}
}
diff --git a/libs/elements/src/lib/components/elements-view/test/basic/index.html b/libs/elements/src/lib/components/elements-view/test/basic/index.html
index 637d1f9ff..a4537c11f 100644
--- a/libs/elements/src/lib/components/elements-view/test/basic/index.html
+++ b/libs/elements/src/lib/components/elements-view/test/basic/index.html
@@ -5,11 +5,6 @@
Stencil Component Starter
-
-
-
-
-
@@ -23,6 +18,12 @@
-
+
+