Update new functions

This commit is contained in:
2026-04-06 03:19:15 +02:00
parent f9095332eb
commit 294547fc56
139 changed files with 2249 additions and 2109 deletions

View File

@@ -43,7 +43,7 @@ const BasicDemo = () => {
oninput: (e) => name(e.target.value)
});
};
$mount(BasicDemo, '#demo-basic');
Mount(BasicDemo, '#demo-basic');
```
### With Icon
@@ -67,7 +67,7 @@ const IconDemo = () => {
oninput: (e) => email(e.target.value)
});
};
$mount(IconDemo, '#demo-icon');
Mount(IconDemo, '#demo-icon');
```
### Password with Toggle
@@ -90,7 +90,7 @@ const PasswordDemo = () => {
oninput: (e) => password(e.target.value)
});
};
$mount(PasswordDemo, '#demo-password');
Mount(PasswordDemo, '#demo-password');
```
### With Tooltip
@@ -113,7 +113,7 @@ const TooltipDemo = () => {
oninput: (e) => username(e.target.value)
});
};
$mount(TooltipDemo, '#demo-tooltip');
Mount(TooltipDemo, '#demo-tooltip');
```
### Error State
@@ -144,7 +144,7 @@ const ErrorDemo = () => {
oninput: (e) => validate(e.target.value)
});
};
$mount(ErrorDemo, '#demo-error');
Mount(ErrorDemo, '#demo-error');
```
### Disabled State
@@ -164,7 +164,7 @@ const DisabledDemo = () => {
disabled: true
});
};
$mount(DisabledDemo, '#demo-disabled');
Mount(DisabledDemo, '#demo-disabled');
```
### All Variants
@@ -201,7 +201,7 @@ const VariantsDemo = () => {
})
]);
};
$mount(VariantsDemo, '#demo-variants');
Mount(VariantsDemo, '#demo-variants');
```
<script>
@@ -220,7 +220,7 @@ $mount(VariantsDemo, '#demo-variants');
oninput: (e) => name(e.target.value)
});
};
$mount(BasicDemo, basicTarget);
Mount(BasicDemo, basicTarget);
}
// 2. With Icon
@@ -236,7 +236,7 @@ $mount(VariantsDemo, '#demo-variants');
oninput: (e) => email(e.target.value)
});
};
$mount(IconDemo, iconTarget);
Mount(IconDemo, iconTarget);
}
// 3. Password with Toggle
@@ -251,7 +251,7 @@ $mount(VariantsDemo, '#demo-variants');
oninput: (e) => password(e.target.value)
});
};
$mount(PasswordDemo, passwordTarget);
Mount(PasswordDemo, passwordTarget);
}
// 4. With Tooltip
@@ -266,7 +266,7 @@ $mount(VariantsDemo, '#demo-variants');
oninput: (e) => username(e.target.value)
});
};
$mount(TooltipDemo, tooltipTarget);
Mount(TooltipDemo, tooltipTarget);
}
// 5. Error State
@@ -290,7 +290,7 @@ $mount(VariantsDemo, '#demo-variants');
oninput: (e) => validate(e.target.value)
});
};
$mount(ErrorDemo, errorTarget);
Mount(ErrorDemo, errorTarget);
}
// 6. Disabled State
@@ -303,7 +303,7 @@ $mount(VariantsDemo, '#demo-variants');
disabled: true
});
};
$mount(DisabledDemo, disabledTarget);
Mount(DisabledDemo, disabledTarget);
}
// 7. All Variants
@@ -333,7 +333,7 @@ $mount(VariantsDemo, '#demo-variants');
})
]);
};
$mount(VariantsDemo, variantsTarget);
Mount(VariantsDemo, variantsTarget);
}
};