@nimbus-ds/components 5.25.0 → 5.27.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/dist/index.d.ts CHANGED
@@ -2882,16 +2882,37 @@ export interface TextareaProperties {
2882
2882
  * Change the visual style of the textarea.
2883
2883
  * @default neutral
2884
2884
  */
2885
- appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative";
2885
+ appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative" | "transparent";
2886
2886
  /**
2887
2887
  * Number of lines to be rendered for the user to input text
2888
2888
  * @default 2
2889
2889
  */
2890
2890
  lines?: number;
2891
+ /**
2892
+ * Controls intrinsic sizing behavior of the field. When true, the textarea will grow with content up to the maxLines limit (if provided) and then scroll.
2893
+ * @default false
2894
+ */
2895
+ autoGrow?: boolean;
2896
+ /**
2897
+ * Caps the textarea visual height to the given number of lines.
2898
+ * When used together with autoGrow=true, the textarea will grow
2899
+ * with content up to this limit and then scroll.
2900
+ */
2901
+ maxLines?: number;
2902
+ /**
2903
+ * Sets the minimum height of the textarea to the given number of lines.
2904
+ * The textarea will never shrink below this height, even when empty.
2905
+ */
2906
+ minLines?: number;
2891
2907
  /**
2892
2908
  * ID of the textarea
2893
2909
  * */
2894
2910
  id: string;
2911
+ /**
2912
+ * Enable/disable textarea resize functionality
2913
+ * @default true
2914
+ */
2915
+ resize?: boolean;
2895
2916
  }
2896
2917
  export declare const Textarea: React.ForwardRefExoticComponent<TextareaProperties & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.InputHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>> & TextareaComponents;
2897
2918
  export type TextareaProps = ComponentPropsWithRef<typeof Textarea>;
@@ -3069,6 +3090,25 @@ export interface ProgressBarProperties {
3069
3090
  */
3070
3091
  export declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProperties & Omit<React.HTMLAttributes<HTMLDivElement>, keyof ProgressBarProperties> & React.RefAttributes<HTMLDivElement>> & ProgressBarComponents;
3071
3092
  export type ProgressBarProps = ComponentPropsWithRef<typeof ProgressBar>;
3093
+ export interface DividerProperties {
3094
+ /**
3095
+ * Defines the orientation of the divider.
3096
+ * @default horizontal
3097
+ */
3098
+ orientation?: "horizontal" | "vertical";
3099
+ /**
3100
+ * Visual appearance color.
3101
+ * @default neutral
3102
+ */
3103
+ appearance?: "neutral";
3104
+ /**
3105
+ * Thickness level based on shape.border.width tokens.
3106
+ * @default 1
3107
+ */
3108
+ thickness?: 1 | 2 | 3;
3109
+ }
3110
+ export type DividerProps = DividerProperties & HTMLAttributes<HTMLHRElement>;
3111
+ export declare const Divider: React.FC<DividerProps>;
3072
3112
  export interface AccordionBodyProperties {
3073
3113
  /**
3074
3114
  * The content of the accordion body.