mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
chore: change peerDependencies
- use Svelte 3.55.0 since that's the minimum target for SvelteKit and svelte-check - revert to using SvelteComponentTyped for high compatibility. We'll migrate to SvelteComponent after dropping Svelte 3
This commit is contained in:
parent
0ac2faa8bc
commit
f014b9d7a0
168 changed files with 804 additions and 516 deletions
6
types/TextInput/PasswordInput.svelte.d.ts
vendored
6
types/TextInput/PasswordInput.svelte.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface PasswordInputProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
|
||||
|
@ -128,9 +128,11 @@ export interface PasswordInputProps
|
|||
* @default null
|
||||
*/
|
||||
ref?: null | HTMLInputElement;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class PasswordInput extends SvelteComponent<
|
||||
export default class PasswordInput extends SvelteComponentTyped<
|
||||
PasswordInputProps,
|
||||
{
|
||||
click: WindowEventMap["click"];
|
||||
|
|
6
types/TextInput/TextInput.svelte.d.ts
vendored
6
types/TextInput/TextInput.svelte.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface TextInputProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
|
||||
|
@ -113,9 +113,11 @@ export interface TextInputProps
|
|||
* @default false
|
||||
*/
|
||||
readonly?: boolean;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class TextInput extends SvelteComponent<
|
||||
export default class TextInput extends SvelteComponentTyped<
|
||||
TextInputProps,
|
||||
{
|
||||
change: CustomEvent<null | number | string>;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface TextInputSkeletonProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
|
@ -8,9 +8,11 @@ export interface TextInputSkeletonProps
|
|||
* @default false
|
||||
*/
|
||||
hideLabel?: boolean;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class TextInputSkeleton extends SvelteComponent<
|
||||
export default class TextInputSkeleton extends SvelteComponentTyped<
|
||||
TextInputSkeletonProps,
|
||||
{
|
||||
click: WindowEventMap["click"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue