chore(number-input): deprecate the mobile variant

Mobile variant styles will no longer work.
This commit is contained in:
Eric Y Liu 2021-03-05 14:57:13 -08:00
commit df88b75c6b
2 changed files with 4 additions and 5 deletions

View file

@ -27,10 +27,6 @@ components: ["NumberInput", "NumberInputSkeleton"]
<NumberInput light label="Clusters" /> <NumberInput light label="Clusters" />
### Mobile variant
<NumberInput mobile label="Clusters" />
### Extra-large size ### Extra-large size
<NumberInput size="xl" label="Clusters" /> <NumberInput size="xl" label="Clusters" />

View file

@ -37,7 +37,10 @@
/** Set to `true` for the input to be read-only */ /** Set to `true` for the input to be read-only */
export let readonly = false; 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; export let mobile = false;
/** Set to `true` to allow for an empty value */ /** Set to `true` to allow for an empty value */