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
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface ProgressIndicatorProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]> {
|
||||
|
@ -26,9 +26,11 @@ export interface ProgressIndicatorProps
|
|||
* @default false
|
||||
*/
|
||||
preventChangeOnClick?: boolean;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class ProgressIndicator extends SvelteComponent<
|
||||
export default class ProgressIndicator extends SvelteComponentTyped<
|
||||
ProgressIndicatorProps,
|
||||
{
|
||||
change: CustomEvent<number>;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface ProgressIndicatorSkeletonProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]> {
|
||||
|
@ -14,9 +14,11 @@ export interface ProgressIndicatorSkeletonProps
|
|||
* @default 4
|
||||
*/
|
||||
count?: number;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class ProgressIndicatorSkeleton extends SvelteComponent<
|
||||
export default class ProgressIndicatorSkeleton extends SvelteComponentTyped<
|
||||
ProgressIndicatorSkeletonProps,
|
||||
{
|
||||
click: WindowEventMap["click"];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponent } from "svelte";
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export interface ProgressStepProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["li"]> {
|
||||
|
@ -50,9 +50,11 @@ export interface ProgressStepProps
|
|||
* @default "ccs-" + Math.random().toString(36)
|
||||
*/
|
||||
id?: string;
|
||||
|
||||
[key: `data-${string}`]: any;
|
||||
}
|
||||
|
||||
export default class ProgressStep extends SvelteComponent<
|
||||
export default class ProgressStep extends SvelteComponentTyped<
|
||||
ProgressStepProps,
|
||||
{
|
||||
click: WindowEventMap["click"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue