mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
breaking: remove deprecated props and components (#1191)
This commit is contained in:
parent
ea7c0d446e
commit
21714d0e3a
55 changed files with 127 additions and 1823 deletions
10
types/Button/Button.svelte.d.ts
vendored
10
types/Button/Button.svelte.d.ts
vendored
|
@ -38,12 +38,6 @@ export interface ButtonProps
|
|||
*/
|
||||
isSelected?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` for the icon-only variant
|
||||
* @default false
|
||||
*/
|
||||
hasIconOnly?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* @default undefined
|
||||
|
@ -57,8 +51,8 @@ export interface ButtonProps
|
|||
iconDescription?: string;
|
||||
|
||||
/**
|
||||
* Set the alignment of the tooltip relative to the icon
|
||||
* `hasIconOnly` must be set to `true`
|
||||
* Set the alignment of the tooltip relative to the icon.
|
||||
* Only applies to icon-only buttons
|
||||
* @default "center"
|
||||
*/
|
||||
tooltipAlignment?: "start" | "center" | "end";
|
||||
|
|
5
types/Button/ButtonSkeleton.svelte.d.ts
vendored
5
types/Button/ButtonSkeleton.svelte.d.ts
vendored
|
@ -14,11 +14,6 @@ export interface ButtonSkeletonProps
|
|||
* @default "default"
|
||||
*/
|
||||
size?: "default" | "field" | "small" | "lg" | "xl";
|
||||
|
||||
/**
|
||||
* @default false
|
||||
*/
|
||||
small?: boolean;
|
||||
}
|
||||
|
||||
export default class ButtonSkeleton extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue