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

@@ -60,7 +60,7 @@ const BasicDemo = () => {
Alert({ type: 'error', message: 'An error occurred while processing your request.' })
]);
};
$mount(BasicDemo, '#demo-basic');
Mount(BasicDemo, '#demo-basic');
```
### Soft vs Solid Variants
@@ -81,7 +81,7 @@ const VariantsDemo = () => {
Alert({ type: 'success', soft: false, message: 'Solid success alert' })
]);
};
$mount(VariantsDemo, '#demo-variants');
Mount(VariantsDemo, '#demo-variants');
```
### With Actions
@@ -130,7 +130,7 @@ const ActionsDemo = () => {
}) : null
]);
};
$mount(ActionsDemo, '#demo-actions');
Mount(ActionsDemo, '#demo-actions');
```
### Dismissible Alert
@@ -161,7 +161,7 @@ const DismissibleDemo = () => {
}, 'Show Alert') : null
]);
};
$mount(DismissibleDemo, '#demo-dismissible');
Mount(DismissibleDemo, '#demo-dismissible');
```
### Reactive Alert
@@ -201,7 +201,7 @@ const ReactiveDemo = () => {
}) : null
]);
};
$mount(ReactiveDemo, '#demo-reactive');
Mount(ReactiveDemo, '#demo-reactive');
```
### Form Validation
@@ -268,7 +268,7 @@ const FormDemo = () => {
}) : null
]);
};
$mount(FormDemo, '#demo-form');
Mount(FormDemo, '#demo-form');
```
### Icon Alerts
@@ -289,7 +289,7 @@ const IconsDemo = () => {
Alert({ type: 'error', message: 'Error alert with custom icon' })
]);
};
$mount(IconsDemo, '#demo-icons');
Mount(IconsDemo, '#demo-icons');
```
### All Types
@@ -310,5 +310,5 @@ const AllTypesDemo = () => {
Alert({ type: 'error', message: '❌ This is an error alert' })
]);
};
$mount(AllTypesDemo, '#demo-all');
Mount(AllTypesDemo, '#demo-all');
```