From df88b75c6b27a9aa72bfe239b8dbc45b0291e41d Mon Sep 17 00:00:00 2001 From: Eric Y Liu Date: Fri, 5 Mar 2021 14:57:13 -0800 Subject: [PATCH] chore(number-input): deprecate the mobile variant Mobile variant styles will no longer work. --- docs/src/pages/components/NumberInput.svx | 4 ---- src/NumberInput/NumberInput.svelte | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/components/NumberInput.svx b/docs/src/pages/components/NumberInput.svx index 54ffc7c0..2bc9afbf 100644 --- a/docs/src/pages/components/NumberInput.svx +++ b/docs/src/pages/components/NumberInput.svx @@ -27,10 +27,6 @@ components: ["NumberInput", "NumberInputSkeleton"] -### Mobile variant - - - ### Extra-large size diff --git a/src/NumberInput/NumberInput.svelte b/src/NumberInput/NumberInput.svelte index 26068901..856c1b5c 100644 --- a/src/NumberInput/NumberInput.svelte +++ b/src/NumberInput/NumberInput.svelte @@ -37,7 +37,10 @@ /** Set to `true` for the input to be read-only */ export let readonly = false; - /** Set to `true` to enable the mobile variant */ + /** + * Set to `true` to enable the mobile variant + * @deprecated + */ export let mobile = false; /** Set to `true` to allow for an empty value */