@juanitte/inoui 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +435 -395
- package/dist/index.d.ts +48 -81
- package/dist/ino-ui.cjs +57 -132
- package/dist/ino-ui.cjs.map +1 -1
- package/dist/ino-ui.mjs +12589 -14556
- package/dist/ino-ui.mjs.map +1 -1
- package/dist/inoui.css +1 -0
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -239,7 +239,7 @@ export declare type AvatarBreakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
|
239
239
|
|
|
240
240
|
export declare type AvatarClassNames = SemanticClassNames<AvatarSemanticSlot>;
|
|
241
241
|
|
|
242
|
-
declare function AvatarComponent({ src, srcSet, alt, icon, shape: shapeProp, size: sizeProp, gap, draggable, crossOrigin, onError, children, className, style, classNames, styles, }: AvatarProps): JSX.Element;
|
|
242
|
+
declare function AvatarComponent({ src, srcSet, alt, icon, shape: shapeProp, size: sizeProp, gap, draggable, crossOrigin, onError, children, className, style, classNames: classNamesProp, styles, }: AvatarProps): JSX.Element;
|
|
243
243
|
|
|
244
244
|
declare function AvatarGroup({ max, size, shape, children, className, style, }: AvatarGroupProps): JSX.Element;
|
|
245
245
|
|
|
@@ -293,7 +293,7 @@ export declare const Badge: typeof BadgeComponent & {
|
|
|
293
293
|
|
|
294
294
|
export declare type BadgeClassNames = SemanticClassNames<BadgeSemanticSlot>;
|
|
295
295
|
|
|
296
|
-
declare function BadgeComponent({ children, count, overflowCount, dot, showZero, size, status, text, color, offset, title, className, style, classNames, styles, }: BadgeProps): JSX.Element | null;
|
|
296
|
+
declare function BadgeComponent({ children, count, overflowCount, dot, showZero, size, status, text, color, offset, title, className, style, classNames: classNamesProp, styles, }: BadgeProps): JSX.Element | null;
|
|
297
297
|
|
|
298
298
|
export declare type BadgePresetColor = 'pink' | 'red' | 'yellow' | 'orange' | 'cyan' | 'green' | 'blue' | 'purple' | 'geekblue' | 'magenta' | 'volcano' | 'gold' | 'lime';
|
|
299
299
|
|
|
@@ -315,7 +315,7 @@ export declare interface BadgeProps {
|
|
|
315
315
|
styles?: BadgeStyles;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
declare function BadgeRibbon({ children, text, color, placement, className, style, classNames, styles, }: BadgeRibbonProps): JSX.Element;
|
|
318
|
+
declare function BadgeRibbon({ children, text, color, placement, className, style, classNames: classNamesProp, styles, }: BadgeRibbonProps): JSX.Element;
|
|
319
319
|
|
|
320
320
|
export declare interface BadgeRibbonProps {
|
|
321
321
|
children?: ReactNode;
|
|
@@ -556,7 +556,7 @@ declare interface BubbleType extends React.FC<BubbleProps> {
|
|
|
556
556
|
Menu: typeof BubbleMenu;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
export declare function Button({ variant, size: sizeProp, color, loading, shadow, bordered, icon, iconPlacement, clickAnimation, hoverAnimation, gradient, gradientAngle, gradientCss, block, disabled: disabledProp, children, className, style, classNames, styles, onMouseEnter, onMouseLeave, onClick, ...props }: ButtonProps): JSX.Element;
|
|
559
|
+
export declare function Button({ variant, size: sizeProp, color, loading, shadow, bordered, icon, iconPlacement, clickAnimation, hoverAnimation, gradient, gradientAngle, gradientCss, block, disabled: disabledProp, children, className, style, classNames: classNamesProp, styles, onMouseEnter, onMouseLeave, onClick, ...props }: ButtonProps): JSX.Element;
|
|
560
560
|
|
|
561
561
|
export declare type ButtonAnimation = 'pulse' | 'ripple' | 'shake' | 'firecracker' | 'confetti';
|
|
562
562
|
|
|
@@ -797,7 +797,7 @@ export declare function ChatIcon({ size }: {
|
|
|
797
797
|
|
|
798
798
|
export declare type CheckableTagClassNames = SemanticClassNames<CheckableTagSemanticSlot>;
|
|
799
799
|
|
|
800
|
-
declare function CheckableTagComponent({ children, checked, onChange, color, disabled, className, style, classNames, styles, }: CheckableTagProps): JSX.Element;
|
|
800
|
+
declare function CheckableTagComponent({ children, checked, onChange, color, disabled, className, style, classNames: classNamesProp, styles, }: CheckableTagProps): JSX.Element;
|
|
801
801
|
|
|
802
802
|
export declare interface CheckableTagProps {
|
|
803
803
|
children?: ReactNode;
|
|
@@ -829,11 +829,11 @@ export declare interface CheckboxChangeEvent {
|
|
|
829
829
|
|
|
830
830
|
export declare type CheckboxClassNames = SemanticClassNames<CheckboxSemanticSlot>;
|
|
831
831
|
|
|
832
|
-
declare function CheckboxComponent({ checked: controlledChecked, defaultChecked, disabled, indeterminate, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames, styles, }: CheckboxProps): JSX.Element;
|
|
832
|
+
declare function CheckboxComponent({ checked: controlledChecked, defaultChecked, disabled, indeterminate, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames: classNamesProp, styles, }: CheckboxProps): JSX.Element;
|
|
833
833
|
|
|
834
834
|
export declare type CheckboxGroupClassNames = SemanticClassNames<CheckboxGroupSemanticSlot>;
|
|
835
835
|
|
|
836
|
-
declare function CheckboxGroupComponent({ options, value: controlledValue, defaultValue, disabled, name, onChange, children, className, style, classNames, styles, }: CheckboxGroupProps): JSX.Element;
|
|
836
|
+
declare function CheckboxGroupComponent({ options, value: controlledValue, defaultValue, disabled, name, onChange, children, className, style, classNames: classNamesProp, styles, }: CheckboxGroupProps): JSX.Element;
|
|
837
837
|
|
|
838
838
|
export declare interface CheckboxGroupProps {
|
|
839
839
|
/** Options array for generating checkboxes */
|
|
@@ -919,7 +919,7 @@ export declare type CheckboxStyles = SemanticStyles<CheckboxSemanticSlot>;
|
|
|
919
919
|
*/
|
|
920
920
|
export declare function classNames(...args: ClassValue[]): string;
|
|
921
921
|
|
|
922
|
-
export declare type ClassValue = string | number | boolean | null | undefined | Record<string, boolean> | ClassValue[];
|
|
922
|
+
export declare type ClassValue = string | number | boolean | null | undefined | Record<string, boolean | undefined> | ClassValue[];
|
|
923
923
|
|
|
924
924
|
export declare function CloseIcon({ size }: {
|
|
925
925
|
size?: number;
|
|
@@ -1490,7 +1490,7 @@ export declare interface DisabledTimes {
|
|
|
1490
1490
|
disabledSeconds?: (hour: number, minute: number) => number[];
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
export declare function Divider({ type, dashed, orientation, orientationMargin, plain, color, thickness, children, className, style, classNames, styles, }: DividerProps): JSX.Element;
|
|
1493
|
+
export declare function Divider({ type, dashed, orientation, orientationMargin, plain, color, thickness, children, className, style, classNames: classNamesProp, styles, }: DividerProps): JSX.Element;
|
|
1494
1494
|
|
|
1495
1495
|
export declare type DividerClassNames = SemanticClassNames<DividerSemanticSlot>;
|
|
1496
1496
|
|
|
@@ -1501,17 +1501,17 @@ export declare type DividerOrientation = 'left' | 'center' | 'right';
|
|
|
1501
1501
|
export declare interface DividerProps {
|
|
1502
1502
|
/** Tipo de divider */
|
|
1503
1503
|
type?: DividerType;
|
|
1504
|
-
/**
|
|
1504
|
+
/** Linea discontinua (dashed) */
|
|
1505
1505
|
dashed?: boolean;
|
|
1506
|
-
/**
|
|
1506
|
+
/** Posicion del texto (solo para horizontal) */
|
|
1507
1507
|
orientation?: DividerOrientation;
|
|
1508
|
-
/** Margen entre el texto y la
|
|
1508
|
+
/** Margen entre el texto y la linea mas cercana (en px o porcentaje) */
|
|
1509
1509
|
orientationMargin?: number | string;
|
|
1510
|
-
/** Texto sin estilo especial (
|
|
1510
|
+
/** Texto sin estilo especial (mas pequeno y sin negrita) */
|
|
1511
1511
|
plain?: boolean;
|
|
1512
1512
|
/** Color del divider */
|
|
1513
1513
|
color?: DividerColor;
|
|
1514
|
-
/** Grosor de la
|
|
1514
|
+
/** Grosor de la linea ('thin' | 'normal' | 'medium' | 'thick' o numero en px) */
|
|
1515
1515
|
thickness?: DividerThickness;
|
|
1516
1516
|
/** Texto dentro del divider */
|
|
1517
1517
|
children?: ReactNode;
|
|
@@ -1686,9 +1686,9 @@ export declare type DropdownStyles = SemanticStyles<DropdownSemanticSlot>;
|
|
|
1686
1686
|
export declare type DropdownTrigger = 'hover' | 'click' | 'contextMenu';
|
|
1687
1687
|
|
|
1688
1688
|
export declare interface EllipsisConfig {
|
|
1689
|
-
/**
|
|
1689
|
+
/** Numero de filas antes de truncar (default: 1) */
|
|
1690
1690
|
rows?: number;
|
|
1691
|
-
/** Mostrar
|
|
1691
|
+
/** Mostrar boton para expandir/colapsar */
|
|
1692
1692
|
expandable?: boolean;
|
|
1693
1693
|
/** Callback cuando cambia el estado expandido */
|
|
1694
1694
|
onExpand?: (expanded: boolean) => void;
|
|
@@ -1700,7 +1700,7 @@ export declare const Empty: typeof EmptyComponent & {
|
|
|
1700
1700
|
|
|
1701
1701
|
export declare type EmptyClassNames = SemanticClassNames<EmptySemanticSlot>;
|
|
1702
1702
|
|
|
1703
|
-
declare function EmptyComponent({ image, imageStyle, description, tumbleweed, iconColor, tumbleweedColor, windColor, shadowColor, children, className, style, classNames, styles, }: EmptyProps): JSX.Element;
|
|
1703
|
+
declare function EmptyComponent({ image, imageStyle, description, tumbleweed, iconColor, tumbleweedColor, windColor, shadowColor, children, className, style, classNames: classNamesProp, styles, }: EmptyProps): JSX.Element;
|
|
1704
1704
|
|
|
1705
1705
|
export declare interface EmptyProps {
|
|
1706
1706
|
/** Custom image. String is treated as image URL. Defaults to built-in simple illustration */
|
|
@@ -1788,13 +1788,13 @@ export declare type FlexJustify = 'flex-start' | 'center' | 'flex-end' | 'space-
|
|
|
1788
1788
|
export declare interface FlexProps {
|
|
1789
1789
|
/** Contenido del flex container */
|
|
1790
1790
|
children?: ReactNode;
|
|
1791
|
-
/**
|
|
1791
|
+
/** Direccion vertical (column) en lugar de horizontal (row) */
|
|
1792
1792
|
vertical?: boolean;
|
|
1793
1793
|
/** Comportamiento de wrap */
|
|
1794
1794
|
wrap?: FlexWrap | boolean;
|
|
1795
|
-
/**
|
|
1795
|
+
/** Alineacion horizontal (justify-content) */
|
|
1796
1796
|
justify?: FlexJustify;
|
|
1797
|
-
/**
|
|
1797
|
+
/** Alineacion vertical (align-items) */
|
|
1798
1798
|
align?: FlexAlign;
|
|
1799
1799
|
/** Espacio entre elementos ('small' | 'middle' | 'large' | number | [horizontal, vertical]) */
|
|
1800
1800
|
gap?: FlexGap;
|
|
@@ -2056,6 +2056,15 @@ export declare type FormValidateStatus = 'success' | 'warning' | 'error' | 'vali
|
|
|
2056
2056
|
|
|
2057
2057
|
export declare type FormVariant = 'outlined' | 'filled' | 'borderless' | 'underlined';
|
|
2058
2058
|
|
|
2059
|
+
/**
|
|
2060
|
+
* Maps a semantic color name to scoped CSS custom properties.
|
|
2061
|
+
* Components set these as inline style, and CSS classes reference
|
|
2062
|
+
* var(--_base), var(--_hover), etc. for their variant styles.
|
|
2063
|
+
*
|
|
2064
|
+
* This avoids generating variant × color combinatorial CSS classes.
|
|
2065
|
+
*/
|
|
2066
|
+
export declare function getColorVars(color: string): Record<string, string>;
|
|
2067
|
+
|
|
2059
2068
|
/**
|
|
2060
2069
|
* Resolves a responsive value for the given window width.
|
|
2061
2070
|
* If `value` is a plain (non-object) scalar, it is returned as-is.
|
|
@@ -3205,49 +3214,32 @@ export declare interface ProgressSuccessConfig {
|
|
|
3205
3214
|
|
|
3206
3215
|
export declare type ProgressType = 'line' | 'circle' | 'dashboard';
|
|
3207
3216
|
|
|
3208
|
-
export declare function QRCode({ value, type, icon, size, iconSize, color, bgColor, marginSize, bordered, errorLevel, status, statusRender, onRefresh, className, style, classNames, styles, }: QRCodeProps): JSX.Element;
|
|
3217
|
+
export declare function QRCode({ value, type, icon, size, iconSize, color, bgColor, marginSize, bordered, errorLevel, status, statusRender, onRefresh, className, style, classNames: classNamesProp, styles, }: QRCodeProps): JSX.Element;
|
|
3209
3218
|
|
|
3210
3219
|
export declare type QRCodeClassNames = SemanticClassNames<QRCodeSemanticSlot>;
|
|
3211
3220
|
|
|
3212
3221
|
export declare type QRCodeErrorLevel = ErrorCorrectionLevel;
|
|
3213
3222
|
|
|
3214
3223
|
export declare interface QRCodeProps {
|
|
3215
|
-
/** Text/URL to encode */
|
|
3216
3224
|
value: string;
|
|
3217
|
-
/** Render method */
|
|
3218
3225
|
type?: QRCodeType;
|
|
3219
|
-
/** Image URL for embedded logo */
|
|
3220
3226
|
icon?: string;
|
|
3221
|
-
/** QR code size in pixels */
|
|
3222
3227
|
size?: number;
|
|
3223
|
-
/** Icon size */
|
|
3224
3228
|
iconSize?: number | {
|
|
3225
3229
|
width: number;
|
|
3226
3230
|
height: number;
|
|
3227
3231
|
};
|
|
3228
|
-
/** QR code module color */
|
|
3229
3232
|
color?: string;
|
|
3230
|
-
/** Background color */
|
|
3231
3233
|
bgColor?: string;
|
|
3232
|
-
/** Quiet zone in modules */
|
|
3233
3234
|
marginSize?: number;
|
|
3234
|
-
/** Show border */
|
|
3235
3235
|
bordered?: boolean;
|
|
3236
|
-
/** Error correction level */
|
|
3237
3236
|
errorLevel?: QRCodeErrorLevel;
|
|
3238
|
-
/** Current status */
|
|
3239
3237
|
status?: QRCodeStatus;
|
|
3240
|
-
/** Custom status display */
|
|
3241
3238
|
statusRender?: (info: StatusRenderInfo) => ReactNode;
|
|
3242
|
-
/** Callback when refresh is clicked */
|
|
3243
3239
|
onRefresh?: () => void;
|
|
3244
|
-
/** Root CSS class */
|
|
3245
3240
|
className?: string;
|
|
3246
|
-
/** Root inline style */
|
|
3247
3241
|
style?: CSSProperties;
|
|
3248
|
-
/** Semantic class names */
|
|
3249
3242
|
classNames?: QRCodeClassNames;
|
|
3250
|
-
/** Semantic styles */
|
|
3251
3243
|
styles?: QRCodeStyles;
|
|
3252
3244
|
}
|
|
3253
3245
|
|
|
@@ -3264,7 +3256,7 @@ export declare const Radio: typeof RadioComponent & {
|
|
|
3264
3256
|
Button: typeof RadioButtonComponent;
|
|
3265
3257
|
};
|
|
3266
3258
|
|
|
3267
|
-
declare function RadioButtonComponent({ checked: controlledChecked, defaultChecked, disabled, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames, styles, _position, }: RadioButtonProps & {
|
|
3259
|
+
declare function RadioButtonComponent({ checked: controlledChecked, defaultChecked, disabled, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames: classNamesProp, styles, _position, }: RadioButtonProps & {
|
|
3268
3260
|
_position?: 'first' | 'middle' | 'last' | 'only';
|
|
3269
3261
|
}): JSX.Element;
|
|
3270
3262
|
|
|
@@ -3280,11 +3272,11 @@ export declare interface RadioChangeEvent {
|
|
|
3280
3272
|
|
|
3281
3273
|
export declare type RadioClassNames = SemanticClassNames<RadioSemanticSlot>;
|
|
3282
3274
|
|
|
3283
|
-
declare function RadioComponent({ checked: controlledChecked, defaultChecked, disabled, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames, styles, }: RadioProps): JSX.Element;
|
|
3275
|
+
declare function RadioComponent({ checked: controlledChecked, defaultChecked, disabled, autoFocus, onChange, value, children, id, name, tabIndex, className, style, classNames: classNamesProp, styles, }: RadioProps): JSX.Element;
|
|
3284
3276
|
|
|
3285
3277
|
export declare type RadioGroupClassNames = SemanticClassNames<RadioGroupSemanticSlot>;
|
|
3286
3278
|
|
|
3287
|
-
declare function RadioGroupComponent({ value: controlledValue, defaultValue, onChange, disabled, name, options, optionType, buttonStyle, size, children, className, style, classNames, styles, }: RadioGroupProps): JSX.Element;
|
|
3279
|
+
declare function RadioGroupComponent({ value: controlledValue, defaultValue, onChange, disabled, name, options, optionType, buttonStyle, size, children, className, style, classNames: classNamesProp, styles, }: RadioGroupProps): JSX.Element;
|
|
3288
3280
|
|
|
3289
3281
|
export declare interface RadioGroupProps {
|
|
3290
3282
|
value?: string | number;
|
|
@@ -3793,7 +3785,7 @@ export declare type SpaceClassNames = SemanticClassNames<SpaceSemanticSlot>;
|
|
|
3793
3785
|
export declare interface SpaceCompactProps {
|
|
3794
3786
|
/** Contenido */
|
|
3795
3787
|
children?: ReactNode;
|
|
3796
|
-
/**
|
|
3788
|
+
/** Direccion del grupo compacto */
|
|
3797
3789
|
direction?: 'horizontal' | 'vertical';
|
|
3798
3790
|
/** Ocupa el 100% del ancho disponible */
|
|
3799
3791
|
block?: boolean;
|
|
@@ -3806,11 +3798,11 @@ export declare interface SpaceCompactProps {
|
|
|
3806
3798
|
export declare interface SpaceProps {
|
|
3807
3799
|
/** Contenido */
|
|
3808
3800
|
children?: ReactNode;
|
|
3809
|
-
/**
|
|
3801
|
+
/** Tamano del espacio entre elementos. Puede ser un valor o [horizontal, vertical] */
|
|
3810
3802
|
size?: SpaceSize | [SpaceSize, SpaceSize];
|
|
3811
|
-
/**
|
|
3803
|
+
/** Orientacion: horizontal o vertical */
|
|
3812
3804
|
direction?: 'horizontal' | 'vertical';
|
|
3813
|
-
/**
|
|
3805
|
+
/** Alineacion de los elementos en el eje cruzado */
|
|
3814
3806
|
align?: SpaceAlign;
|
|
3815
3807
|
/** Permitir wrap cuando se desborden */
|
|
3816
3808
|
wrap?: boolean;
|
|
@@ -3826,7 +3818,7 @@ export declare interface SpaceProps {
|
|
|
3826
3818
|
styles?: SpaceStyles;
|
|
3827
3819
|
}
|
|
3828
3820
|
|
|
3829
|
-
declare function SpaceRoot({ children, size, direction, align, wrap, split, className, style, classNames, styles, }: SpaceProps): JSX.Element | null;
|
|
3821
|
+
declare function SpaceRoot({ children, size, direction, align, wrap, split, className, style, classNames: classNamesProp, styles, }: SpaceProps): JSX.Element | null;
|
|
3830
3822
|
|
|
3831
3823
|
export declare type SpaceSemanticSlot = 'root' | 'item' | 'separator';
|
|
3832
3824
|
|
|
@@ -3938,63 +3930,38 @@ export declare const Statistic: typeof StatisticComponent & {
|
|
|
3938
3930
|
|
|
3939
3931
|
export declare type StatisticClassNames = SemanticClassNames<StatisticSemanticSlot>;
|
|
3940
3932
|
|
|
3941
|
-
declare function StatisticComponent({ title, value, precision, decimalSeparator, groupSeparator, prefix, suffix, formatter, loading, loadingWidth, className, style, classNames, styles, }: StatisticProps): JSX.Element;
|
|
3933
|
+
declare function StatisticComponent({ title, value, precision, decimalSeparator, groupSeparator, prefix, suffix, formatter, loading, loadingWidth, className, style, classNames: classNamesProp, styles, }: StatisticProps): JSX.Element;
|
|
3942
3934
|
|
|
3943
|
-
declare function StatisticCountdown({ title, value, format, prefix, suffix, onFinish, onChange, className, style, classNames, styles, }: StatisticCountdownProps): JSX.Element;
|
|
3935
|
+
declare function StatisticCountdown({ title, value, format, prefix, suffix, onFinish, onChange, className, style, classNames: classNamesProp, styles, }: StatisticCountdownProps): JSX.Element;
|
|
3944
3936
|
|
|
3945
3937
|
export declare interface StatisticCountdownProps {
|
|
3946
|
-
/** Title displayed above the countdown */
|
|
3947
3938
|
title?: ReactNode;
|
|
3948
|
-
/** Target timestamp in milliseconds */
|
|
3949
3939
|
value: number;
|
|
3950
|
-
/** Format string — tokens: D, DD, H, HH, m, mm, s, ss, SSS. Use [text] for literals, [singular|plural] for inflection */
|
|
3951
3940
|
format?: string;
|
|
3952
|
-
/** Content rendered before the value */
|
|
3953
3941
|
prefix?: ReactNode;
|
|
3954
|
-
/** Content rendered after the value */
|
|
3955
3942
|
suffix?: ReactNode;
|
|
3956
|
-
/** Callback when countdown reaches zero */
|
|
3957
3943
|
onFinish?: () => void;
|
|
3958
|
-
/** Callback on each tick, receives remaining ms */
|
|
3959
3944
|
onChange?: (value: number) => void;
|
|
3960
|
-
/** Root CSS class */
|
|
3961
3945
|
className?: string;
|
|
3962
|
-
/** Root inline style */
|
|
3963
3946
|
style?: CSSProperties;
|
|
3964
|
-
/** Semantic class names */
|
|
3965
3947
|
classNames?: CountdownClassNames;
|
|
3966
|
-
/** Semantic styles */
|
|
3967
3948
|
styles?: CountdownStyles;
|
|
3968
3949
|
}
|
|
3969
3950
|
|
|
3970
3951
|
export declare interface StatisticProps {
|
|
3971
|
-
/** Title displayed above the value */
|
|
3972
3952
|
title?: ReactNode;
|
|
3973
|
-
/** Numeric or string value to display */
|
|
3974
3953
|
value?: string | number;
|
|
3975
|
-
/** Number of decimal places */
|
|
3976
3954
|
precision?: number;
|
|
3977
|
-
/** Separator for decimal part */
|
|
3978
3955
|
decimalSeparator?: string;
|
|
3979
|
-
/** Separator for thousands grouping */
|
|
3980
3956
|
groupSeparator?: string;
|
|
3981
|
-
/** Content rendered before the value */
|
|
3982
3957
|
prefix?: ReactNode;
|
|
3983
|
-
/** Content rendered after the value */
|
|
3984
3958
|
suffix?: ReactNode;
|
|
3985
|
-
/** Custom formatter for the value — overrides default number formatting */
|
|
3986
3959
|
formatter?: (value: string | number) => ReactNode;
|
|
3987
|
-
/** Show loading placeholder instead of value */
|
|
3988
3960
|
loading?: boolean;
|
|
3989
|
-
/** Width of the loading placeholder (default '7rem') */
|
|
3990
3961
|
loadingWidth?: string;
|
|
3991
|
-
/** Root CSS class */
|
|
3992
3962
|
className?: string;
|
|
3993
|
-
/** Root inline style */
|
|
3994
3963
|
style?: CSSProperties;
|
|
3995
|
-
/** Semantic class names */
|
|
3996
3964
|
classNames?: StatisticClassNames;
|
|
3997
|
-
/** Semantic styles */
|
|
3998
3965
|
styles?: StatisticStyles;
|
|
3999
3966
|
}
|
|
4000
3967
|
|
|
@@ -4302,7 +4269,7 @@ export declare const Tag: typeof TagComponent & {
|
|
|
4302
4269
|
|
|
4303
4270
|
export declare type TagClassNames = SemanticClassNames<TagSemanticSlot>;
|
|
4304
4271
|
|
|
4305
|
-
declare function TagComponent({ children, color, variant, closable, closeIcon, onClose, icon, bordered, href, target, disabled, onClick, className, style, classNames, styles, }: TagProps): JSX.Element | null;
|
|
4272
|
+
declare function TagComponent({ children, color, variant, closable, closeIcon, onClose, icon, bordered, href, target, disabled, onClick, className, style, classNames: classNamesProp, styles, }: TagProps): JSX.Element | null;
|
|
4306
4273
|
|
|
4307
4274
|
export declare type TagPresetColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'pink' | 'red' | 'yellow' | 'orange' | 'cyan' | 'green' | 'blue' | 'purple' | 'geekblue' | 'magenta' | 'volcano' | 'gold' | 'lime';
|
|
4308
4275
|
|
|
@@ -4331,7 +4298,7 @@ export declare type TagStyles = SemanticStyles<TagSemanticSlot>;
|
|
|
4331
4298
|
|
|
4332
4299
|
export declare type TagVariant = 'outlined' | 'filled' | 'solid';
|
|
4333
4300
|
|
|
4334
|
-
declare function Text_2({ children, type, size, disabled, mark, code, keyboard, underline, delete: del, weight, lineHeight, italic, copyable, ellipsis, className, style, classNames, styles, }: TextProps): JSX.Element;
|
|
4301
|
+
declare function Text_2({ children, type, size, disabled, mark, code, keyboard, underline, delete: del, weight, lineHeight, italic, copyable, ellipsis, className, style, classNames: classNamesProp, styles, }: TextProps): JSX.Element;
|
|
4335
4302
|
export { Text_2 as Text }
|
|
4336
4303
|
|
|
4337
4304
|
export declare type TextAreaClassNames = SemanticClassNames<TextAreaSemanticSlot>;
|
|
@@ -4393,13 +4360,13 @@ export declare interface TextProps {
|
|
|
4393
4360
|
children: ReactNode;
|
|
4394
4361
|
/** Tipo/color del texto */
|
|
4395
4362
|
type?: TextType;
|
|
4396
|
-
/**
|
|
4363
|
+
/** Tamano del texto */
|
|
4397
4364
|
size?: TextSize;
|
|
4398
|
-
/** Texto deshabilitado (gris y sin
|
|
4365
|
+
/** Texto deshabilitado (gris y sin interaccion) */
|
|
4399
4366
|
disabled?: boolean;
|
|
4400
4367
|
/** Resaltar texto con fondo amarillo */
|
|
4401
4368
|
mark?: boolean;
|
|
4402
|
-
/** Estilo de
|
|
4369
|
+
/** Estilo de codigo inline */
|
|
4403
4370
|
code?: boolean;
|
|
4404
4371
|
/** Estilo de tecla de teclado */
|
|
4405
4372
|
keyboard?: boolean;
|
|
@@ -4413,7 +4380,7 @@ export declare interface TextProps {
|
|
|
4413
4380
|
lineHeight?: TextLineHeight;
|
|
4414
4381
|
/** Texto en cursiva */
|
|
4415
4382
|
italic?: boolean;
|
|
4416
|
-
/** Mostrar
|
|
4383
|
+
/** Mostrar boton para copiar el texto */
|
|
4417
4384
|
copyable?: boolean | {
|
|
4418
4385
|
text?: string;
|
|
4419
4386
|
onCopy?: () => void;
|
|
@@ -4469,7 +4436,7 @@ declare interface ThemeProviderProps {
|
|
|
4469
4436
|
config?: ThemeConfig;
|
|
4470
4437
|
}
|
|
4471
4438
|
|
|
4472
|
-
export declare function Timeline({ items, mode, variant, horizontal, titleSpan, pending, pendingDot, reverse, className, style, classNames, styles, }: TimelineProps): JSX.Element;
|
|
4439
|
+
export declare function Timeline({ items, mode, variant, horizontal, titleSpan, pending, pendingDot, reverse, className, style, classNames: classNamesProp, styles, }: TimelineProps): JSX.Element;
|
|
4473
4440
|
|
|
4474
4441
|
export declare type TimelineClassNames = SemanticClassNames<TimelineSemanticSlot>;
|
|
4475
4442
|
|
|
@@ -4614,7 +4581,7 @@ export declare interface TimeRangePickerProps {
|
|
|
4614
4581
|
id?: string;
|
|
4615
4582
|
}
|
|
4616
4583
|
|
|
4617
|
-
export declare function Toggle({ options, value, defaultValue, onChange, disabled, block, vertical, size, name, className, style, classNames, styles, }: ToggleProps): JSX.Element;
|
|
4584
|
+
export declare function Toggle({ options, value, defaultValue, onChange, disabled, block, vertical, size, name, className, style, classNames: classNamesProp, styles, }: ToggleProps): JSX.Element;
|
|
4618
4585
|
|
|
4619
4586
|
export declare type ToggleClassNames = SemanticClassNames<ToggleSemanticSlot>;
|
|
4620
4587
|
|