mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 00:40:34 +01:00
fix(Calendar/InputMenu/Textarea): add missing PartialString type on ui prop
Resolves #3299
This commit is contained in:
@@ -6,6 +6,7 @@ import _appConfig from '#build/app.config'
|
||||
import theme from '#build/ui/input-number'
|
||||
import { tv } from '../utils/tv'
|
||||
import type { ButtonProps } from '../types'
|
||||
import type { PartialString } from '../types/utils'
|
||||
|
||||
const appConfigInputNumber = _appConfig as AppConfig & { ui: { inputNumber: Partial<typeof theme> } }
|
||||
|
||||
@@ -19,10 +20,8 @@ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
class?: any
|
||||
/** The placeholder text when the input is empty. */
|
||||
placeholder?: string
|
||||
ui?: Partial<typeof inputNumber.slots>
|
||||
color?: InputNumberVariants['color']
|
||||
variant?: InputNumberVariants['variant']
|
||||
size?: InputNumberVariants['size']
|
||||
@@ -60,6 +59,8 @@ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue
|
||||
* @defaultValue UApp.locale.code
|
||||
*/
|
||||
locale?: string
|
||||
class?: any
|
||||
ui?: PartialString<typeof inputNumber.slots>
|
||||
}
|
||||
|
||||
export interface InputNumberEmits {
|
||||
|
||||
Reference in New Issue
Block a user