mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(typescript)!: support svelte 4 (#1773)
Closes #1753 The minimum Svelte version required for TypeScript users is now 3.55.
This commit is contained in:
parent
778b2c357f
commit
2f026f792a
192 changed files with 941 additions and 712 deletions
|
@ -1,8 +1,9 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
export interface ProgressIndicatorProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]> {
|
||||
type RestProps = SvelteHTMLElements["ul"];
|
||||
|
||||
export interface ProgressIndicatorProps extends RestProps {
|
||||
/**
|
||||
* Specify the current step index
|
||||
* @default 0
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
export interface ProgressIndicatorSkeletonProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]> {
|
||||
type RestProps = SvelteHTMLElements["ul"];
|
||||
|
||||
export interface ProgressIndicatorSkeletonProps extends RestProps {
|
||||
/**
|
||||
* Set to `true` to use the vertical variant
|
||||
* @default false
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
/// <reference types="svelte" />
|
||||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
export interface ProgressStepProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["li"]> {
|
||||
type RestProps = SvelteHTMLElements["li"];
|
||||
|
||||
export interface ProgressStepProps extends RestProps {
|
||||
/**
|
||||
* Set to `true` for the complete variant
|
||||
* @default false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue