tcce-design-system 0.1.22 → 0.1.23
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.
|
@@ -127,7 +127,7 @@ export declare interface BaseLabelProps extends LabelHTMLAttributes<HTMLLabelEle
|
|
|
127
127
|
* @property {string} [title] - Optional title for accessibility.
|
|
128
128
|
* @property {Variant} [variant] - Animation variant of the spinner.
|
|
129
129
|
*/
|
|
130
|
-
declare interface BaseSpinnerProps {
|
|
130
|
+
export declare interface BaseSpinnerProps {
|
|
131
131
|
size?: Size;
|
|
132
132
|
color?: ColorKey;
|
|
133
133
|
centered?: boolean;
|
|
@@ -233,7 +233,7 @@ export declare interface CheckboxSpecificProps {
|
|
|
233
233
|
*/
|
|
234
234
|
export declare const CloseOpenButton: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
235
235
|
|
|
236
|
-
declare type ColorKey = 'primary' | 'orange' | 'white' | 'gray';
|
|
236
|
+
export declare type ColorKey = 'primary' | 'orange' | 'white' | 'gray';
|
|
237
237
|
|
|
238
238
|
declare type ColorKey_2 = 'primary' | 'orange' | 'white' | 'gray';
|
|
239
239
|
|
|
@@ -515,6 +515,27 @@ export declare type FormFieldSize = 'sm' | 'md' | 'lg';
|
|
|
515
515
|
|
|
516
516
|
export declare type FormFieldState = 'default' | 'hover' | 'focus' | 'error' | 'disabled';
|
|
517
517
|
|
|
518
|
+
/**
|
|
519
|
+
* FullScreenSpinner Component
|
|
520
|
+
* Renders a full-screen spinner with an optional message.
|
|
521
|
+
* @param {FullScreenSpinnerProps} props - Props for the FullScreenSpinner component see in Spinner.types.ts .
|
|
522
|
+
* @returns JSX.Element The rendered FullScreenSpinner component.
|
|
523
|
+
*/
|
|
524
|
+
export declare const FullScreenSpinner: ({ message, color, variant, }: FullScreenSpinnerProps) => JSX.Element;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Props for the FullScreenSpinner component.
|
|
528
|
+
* @interface FullScreenSpinnerProps
|
|
529
|
+
* @property {string} [message] - Optional message to display with the spinner.
|
|
530
|
+
* @property {ColorKey} [color] - Color variant of the spinner.
|
|
531
|
+
* @property {Variant} [variant] - Animation variant of the spinner.
|
|
532
|
+
*/
|
|
533
|
+
export declare interface FullScreenSpinnerProps {
|
|
534
|
+
message?: string;
|
|
535
|
+
color?: ColorKey;
|
|
536
|
+
variant?: Variant;
|
|
537
|
+
}
|
|
538
|
+
|
|
518
539
|
/**
|
|
519
540
|
* Retrieves the value of a cookie by name
|
|
520
541
|
* @param name - The name of the cookie to retrieve
|
|
@@ -1089,6 +1110,27 @@ export declare interface SearchSpecificProps {
|
|
|
1089
1110
|
onSearch?: (value: string) => void;
|
|
1090
1111
|
}
|
|
1091
1112
|
|
|
1113
|
+
/**
|
|
1114
|
+
* SectionSpinner Component
|
|
1115
|
+
* Renders a spinner suitable for section loading states with an optional message.
|
|
1116
|
+
* @param {SectionSpinnerProps} props - Props for the SectionSpinner component see in Spinner.types.ts .
|
|
1117
|
+
* @returns JSX.Element The rendered SectionSpinner component.
|
|
1118
|
+
*/
|
|
1119
|
+
export declare const SectionSpinner: ({ message, color, variant, }: SectionSpinnerProps) => JSX.Element;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Props for the SectionSpinner component
|
|
1123
|
+
* @interface SectionSpinnerProps
|
|
1124
|
+
* @property {string} [message] - Optional message to display with the spinner.
|
|
1125
|
+
* @property {ColorKey} [color] - Color variant of the spinner.
|
|
1126
|
+
* @property {Variant} [variant] - Animation variant of the spinner.
|
|
1127
|
+
*/
|
|
1128
|
+
export declare interface SectionSpinnerProps {
|
|
1129
|
+
message?: string;
|
|
1130
|
+
color?: ColorKey;
|
|
1131
|
+
variant?: Variant;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1092
1134
|
export declare const SelectInput: ForwardRefExoticComponent<SelectInputProps & RefAttributes<HTMLButtonElement>>;
|
|
1093
1135
|
|
|
1094
1136
|
export declare interface SelectInputProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
@@ -1196,7 +1238,7 @@ export declare const SidebarProvider: ({ children }: PropsWithChildren) => JSX.E
|
|
|
1196
1238
|
* Animation variant options for the Spinner component.
|
|
1197
1239
|
* typedef {('rotate' | 'sweep')} Variant
|
|
1198
1240
|
*/
|
|
1199
|
-
declare type Size = 'sm' | 'md' | 'lg' | 'xl';
|
|
1241
|
+
export declare type Size = 'sm' | 'md' | 'lg' | 'xl';
|
|
1200
1242
|
|
|
1201
1243
|
export declare const sizeStyles: {
|
|
1202
1244
|
sm: RuleSet<object>;
|
|
@@ -1650,7 +1692,7 @@ export declare const useSidebar: () => SidebarContextValue;
|
|
|
1650
1692
|
*/
|
|
1651
1693
|
export declare const validateCode: (code: string, length: number, type?: "text" | "number") => boolean;
|
|
1652
1694
|
|
|
1653
|
-
declare type Variant = 'rotate' | 'sweep';
|
|
1695
|
+
export declare type Variant = 'rotate' | 'sweep';
|
|
1654
1696
|
|
|
1655
1697
|
/**
|
|
1656
1698
|
* Interfaz base para componentes que soportan iconos a la izquierda y derecha
|