lsp-uikit 1.4.11 → 1.4.13

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.
@@ -1,12 +1,15 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
+ import { RefObject } from 'react';
4
5
  import { TextareaAutosizeProps } from 'react-textarea-autosize';
5
6
 
6
7
  declare const textareaVariants: (props?: ({
7
8
  variant?: "default" | null | undefined;
8
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- type TextareaProps = TextareaAutosizeProps & VariantProps<typeof textareaVariants>;
10
+ type TextareaProps = TextareaAutosizeProps & VariantProps<typeof textareaVariants> & {
11
+ ref: RefObject<HTMLTextAreaElement | null>;
12
+ };
10
13
  declare function Textarea({ className, variant, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
11
14
 
12
15
  export { Textarea, textareaVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lsp-uikit",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "LevelSkill.Pro UI components based on ShadCN and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",