tcce-design-system-test 0.3.6 → 0.3.8

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.
@@ -227,6 +227,7 @@ export declare interface FieldConfig {
227
227
  name: string;
228
228
  label: string;
229
229
  type: AllowedInputType;
230
+ size?: FormFieldSize;
230
231
  placeholder?: string;
231
232
  required?: boolean;
232
233
  disabled?: boolean;
@@ -245,15 +246,12 @@ export declare interface FieldConfig {
245
246
  pinLength?: number;
246
247
  pinType?: 'text' | 'number';
247
248
  rows?: number;
249
+ className?: string;
250
+ inputClassName?: string;
251
+ labelClassName?: string;
252
+ messageErrorClassName?: string;
248
253
  }
249
254
 
250
- /**
251
- * Tipo to allow partial field configs with optional type (string) for normalization
252
- */
253
- export declare type FieldConfigInput = Omit<FieldConfig, 'type'> & {
254
- type?: string;
255
- };
256
-
257
255
  export declare const flushedStyles: RuleSet<object>;
258
256
 
259
257
  export declare const FormField: default_2.FC<FormFieldComponentProps>;
@@ -662,9 +660,7 @@ export declare interface NavigationItem {
662
660
  * @param fields - Array of field configurations
663
661
  * @returns Normalized field configurations with valid types
664
662
  */
665
- export declare const normalizeFieldTypes: (fields: Array<Partial<FieldConfigInput> & {
666
- type?: string;
667
- }>) => FieldConfig[];
663
+ export declare const normalizeFieldTypes: (fields: Partial<FieldConfig>[]) => FieldConfig[];
668
664
 
669
665
  /**
670
666
  * Transforms select options to the expected format