mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
chore(deps): update all non-major dependencies (v3) (#2454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -12,12 +12,9 @@ const appConfig = _appConfig as AppConfig & { ui: { navigationMenu: Partial<type
|
||||
|
||||
const navigationMenu = tv({ extend: tv(theme), ...(appConfig.ui?.navigationMenu || {}) })
|
||||
|
||||
export interface NavigationMenuChildItem extends Omit<LinkProps, 'raw' | 'custom'> {
|
||||
label: string
|
||||
export interface NavigationMenuChildItem extends Omit<NavigationMenuItem, 'children'> {
|
||||
/** Description is only used when `orientation` is `horizontal`. */
|
||||
description?: string
|
||||
icon?: string
|
||||
badge?: string | number | BadgeProps
|
||||
onSelect?(e: Event): void
|
||||
}
|
||||
|
||||
export interface NavigationMenuItem extends Omit<LinkProps, 'raw' | 'custom'> {
|
||||
@@ -37,7 +34,7 @@ type NavigationMenuVariants = VariantProps<typeof navigationMenu>
|
||||
export interface NavigationMenuProps<T> extends Pick<NavigationMenuRootProps, 'defaultValue' | 'delayDuration' | 'disableClickTrigger' | 'disableHoverTrigger' | 'modelValue' | 'skipDelayDuration'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
/**
|
||||
|
||||
@@ -14,7 +14,7 @@ const pagination = tv({ extend: tv(theme), ...(appConfig.ui?.pagination || {}) }
|
||||
export interface PaginationProps extends Pick<PaginationRootProps, 'defaultPage' | 'disabled' | 'itemsPerPage' | 'page' | 'showEdges' | 'siblingCount' | 'total'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
/**
|
||||
|
||||
@@ -15,7 +15,7 @@ type ProgressVariants = VariantProps<typeof progress>
|
||||
export interface ProgressProps extends Pick<ProgressRootProps, 'getValueLabel' | 'modelValue'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
/** The maximum progress value. */
|
||||
|
||||
@@ -22,7 +22,7 @@ export interface RadioGroupItem {
|
||||
export interface RadioGroupProps<T> extends Pick<RadioGroupRootProps, 'defaultValue' | 'disabled' | 'loop' | 'modelValue' | 'name' | 'required'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
legend?: string
|
||||
|
||||
@@ -15,7 +15,7 @@ type SeparatorVariants = VariantProps<typeof separator>
|
||||
export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
/** Display a label in the middle. */
|
||||
|
||||
@@ -14,7 +14,7 @@ type SliderVariants = VariantProps<typeof slider>
|
||||
export interface SliderProps extends Pick<SliderRootProps, 'name' | 'disabled' | 'inverted' | 'min' | 'max' | 'step' | 'minStepsBetweenThumbs'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
size?: SliderVariants['size']
|
||||
|
||||
@@ -15,7 +15,7 @@ type SwitchVariants = VariantProps<typeof switchTv>
|
||||
export interface SwitchProps extends Pick<SwitchRootProps, 'disabled' | 'id' | 'name' | 'required' | 'value'> {
|
||||
/**
|
||||
* The element or component this component should render as.
|
||||
* @defaultValue `div`
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
color?: SwitchVariants['color']
|
||||
|
||||
Reference in New Issue
Block a user