breaking: remove deprecated props and components (#1191)

This commit is contained in:
metonym 2022-03-27 08:21:58 -07:00 committed by GitHub
commit 21714d0e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 127 additions and 1823 deletions

View file

@ -1,10 +1,4 @@
<script>
/**
* @deprecated this prop will be removed in the next major release
* Set to `true` to use the small variant
*/
export let small = false;
/**
* Specify the size of the search input
* @type {"sm" | "lg" | "xl"}
@ -15,7 +9,7 @@
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
<div
class:bx--skeleton="{true}"
class:bx--search--sm="{size === 'sm' || small}"
class:bx--search--sm="{size === 'sm'}"
class:bx--search--lg="{size === 'lg'}"
class:bx--search--xl="{size === 'xl'}"
{...$$restProps}