tcce-design-system-test 0.3.34 → 0.3.36

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.
@@ -624,7 +624,7 @@ export declare interface FilterOptionProps {
624
624
 
625
625
  export declare const flushedStyles: RuleSet<object>;
626
626
 
627
- export declare const FormField: ({ id, name, label, type, size, placeholder, disabled, required, options, checkboxLabel, radioName, pinLength, pinType, rows, className, inputClassName, labelClassName, messageErrorClassName, leftIcon, rightIcon, iconSize, iconColor, onOptionSelect, onRadioChange, onPinComplete, onChange, ...props }: FormFieldComponentProps) => JSX.Element;
627
+ export declare const FormField: ({ id, name, label, type, size, placeholder, disabled, required, options, checkboxLabel, radioName, pinLength, pinType, rows, className, inputClassName, labelClassName, messageErrorClassName, leftIcon, rightIcon, iconSize, iconColor, onOptionSelect, onRadioChange, onPinComplete, onChange, optionsClassName, optionClassName, ...props }: FormFieldComponentProps) => JSX.Element;
628
628
 
629
629
  export declare interface FormFieldComponentProps extends WithIconsProps {
630
630
  id?: string | number;
@@ -648,6 +648,15 @@ export declare interface FormFieldComponentProps extends WithIconsProps {
648
648
  inputClassName?: string;
649
649
  labelClassName?: string;
650
650
  messageErrorClassName?: string;
651
+ /**
652
+ * Class applied to the options container (menu content)
653
+ */
654
+ optionsClassName?: string;
655
+ /**
656
+ * Class applied to each option. Can be a string or a function that receives the option
657
+ * and returns a string (useful for conditional classes per option).
658
+ */
659
+ optionClassName?: string | ((option: SelectOption | null) => string);
651
660
  onOptionSelect?: (option: SelectOption) => void;
652
661
  onRadioChange?: (event: ChangeEvent<HTMLInputElement>) => void;
653
662
  onPinComplete?: (value: string) => void;
@@ -1384,13 +1393,14 @@ export declare interface SelectInputProps extends Omit<SelectHTMLAttributes<HTML
1384
1393
  className?: string;
1385
1394
  inputClassName?: string;
1386
1395
  optionsClassName?: string;
1387
- optionClassName?: string;
1396
+ optionClassName?: string | ((option: SelectOption | null) => string);
1388
1397
  }
1389
1398
 
1390
1399
  export declare interface SelectOption {
1391
1400
  value: string | number;
1392
1401
  label: string;
1393
1402
  disabled?: boolean;
1403
+ className?: string;
1394
1404
  }
1395
1405
 
1396
1406
  export declare interface SelectSpecificProps {
@@ -1756,13 +1766,16 @@ export declare const Table: {
1756
1766
  displayName: string;
1757
1767
  };
1758
1768
 
1759
- export declare const TableBody: <T extends Record<string, unknown>>({ rows, className, rowClassName, cellClassName, }: TableBodyProps<T>) => JSX.Element;
1769
+ export declare const TableBody: <T extends Record<string, unknown>>({ rows, className, rowClassName, cellClassName, isLoading, rowCount, columnCount, }: TableBodyProps<T>) => JSX.Element;
1760
1770
 
1761
1771
  declare interface TableBodyProps<T extends Record<string, unknown>> {
1762
1772
  rows: Row<T>[];
1763
1773
  className?: string;
1764
1774
  rowClassName?: string | ((row: Row<T>) => string);
1765
1775
  cellClassName?: string | ((row: Row<T>) => string);
1776
+ isLoading?: boolean;
1777
+ rowCount?: number;
1778
+ columnCount?: number;
1766
1779
  }
1767
1780
 
1768
1781
  export declare const TableCell: <T extends Record<string, unknown>>({ cell, rowClassName, }: TableCellProps<T>) => JSX.Element;