mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore: migrate to svelte-4
- Use `SvelteComponent` instead of `SvelteComponentTyped` - use `local` transitions for backwards-compatibility
This commit is contained in:
parent
d1534c3e8f
commit
56488e7375
189 changed files with 508 additions and 377 deletions
4
types/DatePicker/DatePickerInput.svelte.d.ts
vendored
4
types/DatePicker/DatePickerInput.svelte.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteComponent } from "svelte";
|
||||
|
||||
export interface DatePickerInputProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
|
||||
|
@ -100,7 +100,7 @@ export interface DatePickerInputProps
|
|||
ref?: null | HTMLInputElement;
|
||||
}
|
||||
|
||||
export default class DatePickerInput extends SvelteComponentTyped<
|
||||
export default class DatePickerInput extends SvelteComponent<
|
||||
DatePickerInputProps,
|
||||
{
|
||||
input: WindowEventMap["input"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue