mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
chore(number-input): deprecate the mobile variant
Mobile variant styles will no longer work.
This commit is contained in:
parent
c8d295e5d7
commit
df88b75c6b
2 changed files with 4 additions and 5 deletions
|
@ -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" />
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue