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

@@ -59,7 +59,7 @@ const BasicDemo = () => {
Div({ class: 'mt-2 text-sm opacity-70' }, () => `Selected: ${selected()}`)
]);
};
$mount(BasicDemo, '#demo-basic');
Mount(BasicDemo, '#demo-basic');
```
### With Tooltip
@@ -94,7 +94,7 @@ const TooltipDemo = () => {
})
]);
};
$mount(TooltipDemo, '#demo-tooltip');
Mount(TooltipDemo, '#demo-tooltip');
```
### Disabled State
@@ -128,7 +128,7 @@ const DisabledDemo = () => {
})
]);
};
$mount(DisabledDemo, '#demo-disabled');
Mount(DisabledDemo, '#demo-disabled');
```
### Reactive Preview
@@ -188,7 +188,7 @@ const ReactiveDemo = () => {
}, () => `${size()} ${color()} preview`)
]);
};
$mount(ReactiveDemo, '#demo-reactive');
Mount(ReactiveDemo, '#demo-reactive');
```
### Payment Method Selection
@@ -239,7 +239,7 @@ const PaymentDemo = () => {
})
]);
};
$mount(PaymentDemo, '#demo-payment');
Mount(PaymentDemo, '#demo-payment');
```
### All Variants
@@ -323,7 +323,7 @@ const VariantsDemo = () => {
])
]);
};
$mount(VariantsDemo, '#demo-variants');
Mount(VariantsDemo, '#demo-variants');
```
### Dynamic Options
@@ -394,7 +394,7 @@ const DynamicDemo = () => {
: null
]);
};
$mount(DynamicDemo, '#demo-dynamic');
Mount(DynamicDemo, '#demo-dynamic');
```
<script>
@@ -432,7 +432,7 @@ $mount(DynamicDemo, '#demo-dynamic');
Div({ class: 'mt-2 text-sm opacity-70' }, () => `Selected: ${selected()}`)
]);
};
$mount(BasicDemo, basicTarget);
Mount(BasicDemo, basicTarget);
}
// 2. With Tooltip
@@ -460,7 +460,7 @@ $mount(DynamicDemo, '#demo-dynamic');
})
]);
};
$mount(TooltipDemo, tooltipTarget);
Mount(TooltipDemo, tooltipTarget);
}
// 3. Disabled State
@@ -487,7 +487,7 @@ $mount(DynamicDemo, '#demo-dynamic');
})
]);
};
$mount(DisabledDemo, disabledTarget);
Mount(DisabledDemo, disabledTarget);
}
// 4. Reactive Preview
@@ -540,7 +540,7 @@ $mount(DynamicDemo, '#demo-dynamic');
}, () => `${size()} ${color()} preview`)
]);
};
$mount(ReactiveDemo, reactiveTarget);
Mount(ReactiveDemo, reactiveTarget);
}
// 5. Payment Method Selection
@@ -584,7 +584,7 @@ $mount(DynamicDemo, '#demo-dynamic');
})
]);
};
$mount(PaymentDemo, paymentTarget);
Mount(PaymentDemo, paymentTarget);
}
// 6. All Variants
@@ -661,7 +661,7 @@ $mount(DynamicDemo, '#demo-dynamic');
])
]);
};
$mount(VariantsDemo, variantsTarget);
Mount(VariantsDemo, variantsTarget);
}
// 7. Dynamic Options
@@ -725,7 +725,7 @@ $mount(DynamicDemo, '#demo-dynamic');
: null
]);
};
$mount(DynamicDemo, dynamicTarget);
Mount(DynamicDemo, dynamicTarget);
}
};