diff --git a/types/Copy/Copy.svelte.d.ts b/types/Copy/Copy.svelte.d.ts deleted file mode 100644 index 7bad0687..00000000 --- a/types/Copy/Copy.svelte.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface CopyProps - extends svelte.JSX.HTMLAttributes { - /** - * Set the feedback text shown after clicking the button - * @default "Copied!" - */ - feedback?: string; - - /** - * Set the timeout duration (ms) to display feedback text - * @default 2000 - */ - feedbackTimeout?: number; - - /** - * Obtain a reference to the button HTML element - * @default null - */ - ref?: null | HTMLButtonElement; -} - -export default class Copy extends SvelteComponentTyped< - CopyProps, - { - click: WindowEventMap["click"]; - animationend: WindowEventMap["animationend"]; - }, - { default: {} } -> {} diff --git a/types/Icon/Icon.svelte.d.ts b/types/Icon/Icon.svelte.d.ts deleted file mode 100644 index 68e6ae06..00000000 --- a/types/Icon/Icon.svelte.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; -import { IconSkeletonProps } from "./IconSkeleton.svelte"; - -export interface IconProps - extends IconSkeletonProps, - svelte.JSX.HTMLAttributes { - /** - * Specify the icon to render - * @default undefined - */ - render?: typeof import("svelte").SvelteComponent; - - /** - * Set to `true` to display the skeleton state - * @default false - */ - skeleton?: boolean; -} - -/** - * @deprecated This component is deprecated. - * Use icons from "carbon-icons-svelte" instead. - */ -export default class Icon extends SvelteComponentTyped< - IconProps, - { - click: WindowEventMap["click"]; - mouseover: WindowEventMap["mouseover"]; - mouseenter: WindowEventMap["mouseenter"]; - mouseleave: WindowEventMap["mouseleave"]; - }, - {} -> {} diff --git a/types/Icon/IconSkeleton.svelte.d.ts b/types/Icon/IconSkeleton.svelte.d.ts deleted file mode 100644 index 2755a2dc..00000000 --- a/types/Icon/IconSkeleton.svelte.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface IconSkeletonProps - extends svelte.JSX.HTMLAttributes { - /** - * Set the size of the icon - * @default 16 - */ - size?: number; -} - -/** - * @deprecated This component is deprecated. - */ -export default class IconSkeleton extends SvelteComponentTyped< - IconSkeletonProps, - { - click: WindowEventMap["click"]; - mouseover: WindowEventMap["mouseover"]; - mouseenter: WindowEventMap["mouseenter"]; - mouseleave: WindowEventMap["mouseleave"]; - }, - {} -> {} diff --git a/types/Notification/NotificationTextDetails.svelte.d.ts b/types/Notification/NotificationTextDetails.svelte.d.ts deleted file mode 100644 index 409a786a..00000000 --- a/types/Notification/NotificationTextDetails.svelte.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface NotificationTextDetailsProps { - /** - * Set the type of notification - * @default "toast" - */ - notificationType?: "toast" | "inline"; - - /** - * Specify the title text - * @default "Title" - */ - title?: string; - - /** - * Specify the subtitle text - * @default "" - */ - subtitle?: string; - - /** - * Specify the caption text - * @default "Caption" - */ - caption?: string; -} - -/** - * @deprecated This component is deprecated. - */ -export default class NotificationTextDetails extends SvelteComponentTyped< - NotificationTextDetailsProps, - {}, - { default: {} } -> {} diff --git a/types/ToggleSmall/ToggleSmall.svelte.d.ts b/types/ToggleSmall/ToggleSmall.svelte.d.ts deleted file mode 100644 index 79216453..00000000 --- a/types/ToggleSmall/ToggleSmall.svelte.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface ToggleSmallProps - extends svelte.JSX.HTMLAttributes { - /** - * Set to `true` to toggle the checkbox input - * @default false - */ - toggled?: boolean; - - /** - * Set to `true` to disable checkbox input - * @default false - */ - disabled?: boolean; - - /** - * Specify the label for the untoggled state - * @default "Off" - */ - labelA?: string; - - /** - * Specify the label for the toggled state - * @default "On" - */ - labelB?: string; - - /** - * Specify the label text - * @default "" - */ - labelText?: string; - - /** - * Set an id for the input element - * @default "ccs-" + Math.random().toString(36) - */ - id?: string; - - /** - * Specify a name attribute for the checkbox input - * @default undefined - */ - name?: string; -} - -/** - * @deprecated This component is deprecated. - * Use`` instead. - */ -export default class ToggleSmall extends SvelteComponentTyped< - ToggleSmallProps, - { - click: WindowEventMap["click"]; - mouseover: WindowEventMap["mouseover"]; - mouseenter: WindowEventMap["mouseenter"]; - mouseleave: WindowEventMap["mouseleave"]; - change: WindowEventMap["change"]; - keyup: WindowEventMap["keyup"]; - focus: WindowEventMap["focus"]; - blur: WindowEventMap["blur"]; - }, - {} -> {} diff --git a/types/ToggleSmall/ToggleSmallSkeleton.svelte.d.ts b/types/ToggleSmall/ToggleSmallSkeleton.svelte.d.ts deleted file mode 100644 index 7f1cbe21..00000000 --- a/types/ToggleSmall/ToggleSmallSkeleton.svelte.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface ToggleSmallSkeletonProps - extends svelte.JSX.HTMLAttributes { - /** - * Specify the label text - * @default "" - */ - labelText?: string; - - /** - * Set an id for the input element - * @default "ccs-" + Math.random().toString(36) - */ - id?: string; -} - -/** - * @deprecated This component is deprecated. - * Use`` instead. - */ -export default class ToggleSmallSkeleton extends SvelteComponentTyped< - ToggleSmallSkeletonProps, - { - click: WindowEventMap["click"]; - mouseover: WindowEventMap["mouseover"]; - mouseenter: WindowEventMap["mouseenter"]; - mouseleave: WindowEventMap["mouseleave"]; - }, - {} -> {} diff --git a/types/UIShell/GlobalHeader/HeaderActionSearch.svelte.d.ts b/types/UIShell/GlobalHeader/HeaderActionSearch.svelte.d.ts deleted file mode 100644 index 2a485ba9..00000000 --- a/types/UIShell/GlobalHeader/HeaderActionSearch.svelte.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/// -import { SvelteComponentTyped } from "svelte"; - -export interface HeaderActionSearchProps { - /** - * Set to `true` to focus the search - * @default false - */ - searchIsActive?: boolean; -} - -/** - * @deprecated - * This component is deprecated. Use `HeaderSearch` instead. - */ -export default class HeaderActionSearch extends SvelteComponentTyped< - HeaderActionSearchProps, - { - inputSearch: CustomEvent<{ action: "search"; textInput: string }>; - focusInputSearch: CustomEvent; - focusOutInputSearch: CustomEvent; - }, - {} -> {}